Свойство | Тип | Описание | |
---|---|---|---|
boxSize | Vector3 | ||
fogTexture | |||
fogTextureScale | float | ||
fogTextureYMovement | float | ||
visibility | float | ||
volumeColor | Color | ||
volumetricMaterial | Material |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
CopyMesh ( Mesh original ) : Mesh | ||
CreateCube ( ) : Mesh | ||
LateUpdate ( ) : void | ||
OnEnable ( ) : void | ||
ScaleMesh ( Mesh mesh, Vector3 scaleFactor ) : void | ||
SetSceneCameraDepthMode ( ) : void | ||
SetupUnitVerts ( ) : void | ||
UpdateVolume ( ) : void |
Метод | Описание | |
---|---|---|
CreateSphereVolume ( ) : void | ||
ScaleVector ( Vector3 vector, Vector3 scale ) : Vector3 |
public ScaleMesh ( Mesh mesh, Vector3 scaleFactor ) : void | ||
mesh | Mesh | |
scaleFactor | Vector3 | |
Результат | void |
public Texture2D,UnityEngine fogTexture | ||
Результат |