Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Public Attributes | List of all members
ParticleConfigFX Class Reference
Inheritance diagram for ParticleConfigFX:
EffectBehaviour

Classes

class  PFXMaterial
 

Public Member Functions

override void OnEvent (float power)
 
override void OnEvent ()
 
override void OnInitialize ()
 
override void OnLoad (ConfigNode node)
 
override void OnSave (ConfigNode node)
 
- Public Member Functions inherited from EffectBehaviour
virtual void OnEvent (int transformIdx)
 
virtual void OnEvent (float power, int transformIdx)
 

Public Attributes

float angularVelocity = 0.0f
 
bool autodestruct = false
 
bool castShadows = false
 
Color[] colorAnimation
 
float damping = 1f
 
bool doesAnimateColor = true
 
Vector3 ellipsoid = Vector3.one
 
float emitterVelocityScale = 0.05f
 
Vector3 force = Vector3.zero
 
FXCurve lengthScale = new FXCurve("lengthScale", 0.00f)
 
Vector3 localRotationAxis = Vector3.zero
 
Vector3 localVelocity = Vector3.zero
 
PFXMaterial material = new PFXMaterial()
 
FXCurve maxEmission = new FXCurve("maxEmission", 100)
 
FXCurve maxEnergy = new FXCurve("maxEnergy", 3f)
 
float maxParticleSize = 0.25f
 
FXCurve maxSize = new FXCurve("maxSize", 0.1f)
 
FXCurve minEmission = new FXCurve("minEmission", 80)
 
FXCurve minEnergy = new FXCurve("minEnergy", 2f)
 
FXCurve minSize = new FXCurve("minSize", 0.1f)
 
bool oneShot = false
 
ParticleSystemRenderMode particleRenderModeNewSystem = ParticleSystemRenderMode.Billboard
 
GameObject pHost
 
float power = 0f
 
ParticleSystem ps
 
bool recieveShadows = false
 
float rndAngularVelocity = 0.05f
 
Vector3 rndForce = Vector3.zero
 
bool rndRotation = false
 
Vector3 rndVelocity = Vector3.zero
 
FXCurve sizeGrow = new FXCurve("sizeGrow", 0.00f)
 
Vector3 tangentVelocity = Vector3.zero
 
bool useWorldSpace = true
 
int uvAnimationCycles = 1
 
int uvAnimationXTile = 1
 
int uvAnimationYTile = 1
 
float velocityScale = 0f
 
Vector3 worldRotationAxis = Vector3.zero
 
Vector3 worldVelocity = Vector3.zero
 
- Public Attributes inherited from EffectBehaviour
string effectName = ""
 
Part hostPart
 
string instanceName = ""
 

Additional Inherited Members

- Static Public Member Functions inherited from EffectBehaviour
static void AddParticleEmitter (KSPParticleEmitter emitter)
 
static void AddParticleEmitter (ParticleSystem emitter)
 
static void OffsetParticles (Vector3d offset)
 
static void RemoveParticleEmitter (KSPParticleEmitter emitter)
 
static void RemoveParticleEmitter (ParticleSystem emitter)
 

Member Function Documentation

override void ParticleConfigFX.OnEvent ( float  power)
inlinevirtual

Reimplemented from EffectBehaviour.

override void ParticleConfigFX.OnEvent ( )
inlinevirtual

Reimplemented from EffectBehaviour.

override void ParticleConfigFX.OnInitialize ( )
inlinevirtual

Reimplemented from EffectBehaviour.

override void ParticleConfigFX.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from EffectBehaviour.

override void ParticleConfigFX.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from EffectBehaviour.

Member Data Documentation

float ParticleConfigFX.angularVelocity = 0.0f
bool ParticleConfigFX.autodestruct = false
bool ParticleConfigFX.castShadows = false
Color [] ParticleConfigFX.colorAnimation
Initial value:
=
new Color[] {
new Color(1f, 1f, 1f, dC* 10f),
new Color(1f, 1f, 1f, dC* 180f),
new Color(1f, 1f, 1f, 1f),
new Color(1f, 1f, 1f, dC* 180f),
new Color(1f, 1f, 1f, dC* 10f)
}
float ParticleConfigFX.damping = 1f
bool ParticleConfigFX.doesAnimateColor = true
Vector3 ParticleConfigFX.ellipsoid = Vector3.one
float ParticleConfigFX.emitterVelocityScale = 0.05f
Vector3 ParticleConfigFX.force = Vector3.zero
FXCurve ParticleConfigFX.lengthScale = new FXCurve("lengthScale", 0.00f)
Vector3 ParticleConfigFX.localRotationAxis = Vector3.zero
Vector3 ParticleConfigFX.localVelocity = Vector3.zero
PFXMaterial ParticleConfigFX.material = new PFXMaterial()
FXCurve ParticleConfigFX.maxEmission = new FXCurve("maxEmission", 100)
FXCurve ParticleConfigFX.maxEnergy = new FXCurve("maxEnergy", 3f)
float ParticleConfigFX.maxParticleSize = 0.25f
FXCurve ParticleConfigFX.maxSize = new FXCurve("maxSize", 0.1f)
FXCurve ParticleConfigFX.minEmission = new FXCurve("minEmission", 80)
FXCurve ParticleConfigFX.minEnergy = new FXCurve("minEnergy", 2f)
FXCurve ParticleConfigFX.minSize = new FXCurve("minSize", 0.1f)
bool ParticleConfigFX.oneShot = false
ParticleSystemRenderMode ParticleConfigFX.particleRenderModeNewSystem = ParticleSystemRenderMode.Billboard
GameObject ParticleConfigFX.pHost
float ParticleConfigFX.power = 0f
ParticleSystem ParticleConfigFX.ps
bool ParticleConfigFX.recieveShadows = false
float ParticleConfigFX.rndAngularVelocity = 0.05f
Vector3 ParticleConfigFX.rndForce = Vector3.zero
bool ParticleConfigFX.rndRotation = false
Vector3 ParticleConfigFX.rndVelocity = Vector3.zero
FXCurve ParticleConfigFX.sizeGrow = new FXCurve("sizeGrow", 0.00f)
Vector3 ParticleConfigFX.tangentVelocity = Vector3.zero
bool ParticleConfigFX.useWorldSpace = true
int ParticleConfigFX.uvAnimationCycles = 1
int ParticleConfigFX.uvAnimationXTile = 1
int ParticleConfigFX.uvAnimationYTile = 1
float ParticleConfigFX.velocityScale = 0f
Vector3 ParticleConfigFX.worldRotationAxis = Vector3.zero
Vector3 ParticleConfigFX.worldVelocity = Vector3.zero

The documentation for this class was generated from the following file: