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 | |
float | Brightness = 1.0f |
float | Contrast = 1.9f |
float | radius = 3.0f |
float | radiusPower = 1.0f |
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.
float SphereVolume.Brightness = 1.0f |
float SphereVolume.Contrast = 1.9f |
float SphereVolume.radius = 3.0f |
float SphereVolume.radiusPower = 1.0f |