Kerbal Space Program
1.12.4
|
Public Member Functions | |
override bool | HasChanged () |
override void | PopulateShaderName () |
override void | UpdateVolume () |
Public Member Functions inherited from VolumetricObjectBase | |
Mesh | CopyMesh (Mesh original) |
Mesh | CreateCube () |
void | ScaleMesh (Mesh mesh, Vector3 scaleFactor) |
void | ScaleMesh (Mesh mesh, Vector3 scaleFactor, Vector3 addVector) |
void | SetupUnitVerts () |
Public Attributes | |
Vector3 | boxSize = Vector3.one * 5f |
Public Attributes inherited from VolumetricObjectBase | |
Texture3D | texture = null |
Vector3 | textureMovement = new Vector3(0f, -0.1f, 0f) |
float | textureScale = 1f |
float | visibility = 3.0f |
Color | volumeColor = new Color(1.0f, 1.0f, 1.0f, 1.0f) |
string | volumeShader = "" |
Protected Member Functions | |
override void | OnEnable () |
override void | SetChangedValues () |
Protected Member Functions inherited from VolumetricObjectBase | |
virtual void | CleanUp () |
virtual void | OnDestroy () |
virtual void | OnDisable () |
Additional Inherited Members | |
Protected Attributes inherited from VolumetricObjectBase | |
Vector3 | forcedLocalScale = Vector3.one |
Material | materialInstance = null |
Mesh | meshInstance = null |
Texture3D | previousTexture = null |
Vector3 | previousTextureMovement = new Vector3(0f, 0.1f, 0f) |
float | previousTextureScale = 10f |
float | previousVisibility = 1.0f |
Color | previousVolumeColor = new Color(1.0f, 1.0f, 1.0f, 1.0f) |
Transform | thisTransform = null |
Vector3[] | unitVerts = new Vector3[8] |
Material | volumetricMaterial = null |
|
inlinevirtual |
Reimplemented from VolumetricObjectBase.
|
inlineprotectedvirtual |
Reimplemented from VolumetricObjectBase.
|
inlinevirtual |
Reimplemented from VolumetricObjectBase.
|
inlineprotectedvirtual |
Reimplemented from VolumetricObjectBase.
|
inlinevirtual |
Reimplemented from VolumetricObjectBase.
Vector3 BoxVolume.boxSize = Vector3.one * 5f |