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

Public Member Functions

override void OnEvent ()
 
override void OnEvent (float power)
 
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

FXCurve emission = new FXCurve("emission", 1f)
 
FXCurve energy = new FXCurve("energy", 1f)
 
Vector3 localPosition = Vector3.zero
 
Vector3 localRotation = Vector3.zero
 
Vector3 localScale = Vector3.one
 
string modelName = ""
 
FXCurve speed = new FXCurve("speed", 1f)
 
string transformName = ""
 
- 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 ModelParticleFX.OnEvent ( )
inlinevirtual

Reimplemented from EffectBehaviour.

override void ModelParticleFX.OnEvent ( float  power)
inlinevirtual

Reimplemented from EffectBehaviour.

override void ModelParticleFX.OnInitialize ( )
inlinevirtual

Reimplemented from EffectBehaviour.

override void ModelParticleFX.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from EffectBehaviour.

override void ModelParticleFX.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from EffectBehaviour.

Member Data Documentation

FXCurve ModelParticleFX.emission = new FXCurve("emission", 1f)
FXCurve ModelParticleFX.energy = new FXCurve("energy", 1f)
Vector3 ModelParticleFX.localPosition = Vector3.zero
Vector3 ModelParticleFX.localRotation = Vector3.zero
Vector3 ModelParticleFX.localScale = Vector3.one
string ModelParticleFX.modelName = ""
FXCurve ModelParticleFX.speed = new FXCurve("speed", 1f)
string ModelParticleFX.transformName = ""

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