C# Class SphereVolume, Poker

Inheritance: MonoBehaviour
显示文件 Open project: BernhardGlueck/Poker Class Usage Examples

Public Properties

Property Type Description
fogTexture UnityEngine.Texture2D
fogTextureScale float
fogTextureYMovement float
radius float
visibility float
volumeColor Color
volumetricMaterial Material

Public Methods

Method Description
Awake ( ) : void
CopyMesh ( Mesh original ) : Mesh
CreateCube ( ) : Mesh
LateUpdate ( ) : void
OnEnable ( ) : void
ScaleMesh ( Mesh mesh, Vector3 scaleFactor ) : void
SetSceneCameraDepthMode ( ) : void
SetupUnitVerts ( ) : void
UpdateVolume ( ) : void

Private Methods

Method Description
CreateSphereVolume ( ) : void
ScaleVector ( Vector3 vector, Vector3 scale ) : Vector3

Method Details

Awake() public method

public Awake ( ) : void
return void

CopyMesh() public method

public CopyMesh ( Mesh original ) : Mesh
original Mesh
return Mesh

CreateCube() public method

public CreateCube ( ) : Mesh
return Mesh

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

ScaleMesh() public method

public ScaleMesh ( Mesh mesh, Vector3 scaleFactor ) : void
mesh Mesh
scaleFactor Vector3
return void

SetSceneCameraDepthMode() public method

public SetSceneCameraDepthMode ( ) : void
return void

SetupUnitVerts() public method

public SetupUnitVerts ( ) : void
return void

UpdateVolume() public method

public UpdateVolume ( ) : void
return void

Property Details

fogTexture public_oe property

public Texture2D,UnityEngine fogTexture
return UnityEngine.Texture2D

fogTextureScale public_oe property

public float fogTextureScale
return float

fogTextureYMovement public_oe property

public float fogTextureYMovement
return float

radius public_oe property

public float radius
return float

visibility public_oe property

public float visibility
return float

volumeColor public_oe property

public Color volumeColor
return Color

volumetricMaterial public_oe property

public Material volumetricMaterial
return Material