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

Public Types

enum  EmissionShape {
  EmissionShape.Ellipsoid, EmissionShape.Ellipse, EmissionShape.Sphere, EmissionShape.Ring,
  EmissionShape.Cuboid, EmissionShape.Plane, EmissionShape.Line, EmissionShape.Point
}
 

Public Member Functions

void Emit ()
 
void EmitParticle ()
 
void SetDirty ()
 Call this if you change anything other than minSize, maxSize, minEnergy, maxEnergy, minEmission, maxEmission, localVelocity or worldVelocity More...
 
void SetupProperties ()
 

Public Attributes

float angularVelocity
 
bool castShadows
 
Color color
 
Color[] colorAnimation
 
float damping
 
bool doesAnimateColor
 
bool emit
 
float emitterVelocityScale
 
Vector3 force
 
float lengthScale
 
Vector3 localRotationAxis
 
Vector3 localVelocity
 
Material material
 
int maxEmission
 
float maxEnergy
 
float maxParticleSize
 
float maxSize
 
int minEmission
 
float minEnergy
 
float minSize
 
ParticleSystemRenderMode particleRenderMode
 
ParticleSystem ps
 
bool recieveShadows
 
float rndAngularVelocity
 
Vector3 rndForce
 
bool rndRotation
 
Vector3 rndVelocity
 
EmissionShape shape
 
float shape1D
 
Vector2 shape2D
 
Vector3 shape3D
 
float sizeGrow
 
bool useWorldSpace
 
int uvAnimationCycles
 
int uvAnimationXTile
 
int uvAnimationYTile
 
float velocityScale
 
Vector3 worldRotationAxis
 
Vector3 worldVelocity
 

Member Enumeration Documentation

Enumerator
Ellipsoid 
Ellipse 
Sphere 
Ring 
Cuboid 
Plane 
Line 
Point 

Member Function Documentation

void KSPParticleEmitter.Emit ( )
inline
void KSPParticleEmitter.EmitParticle ( )
inline
void KSPParticleEmitter.SetDirty ( )
inline

Call this if you change anything other than minSize, maxSize, minEnergy, maxEnergy, minEmission, maxEmission, localVelocity or worldVelocity

void KSPParticleEmitter.SetupProperties ( )
inline

Member Data Documentation

float KSPParticleEmitter.angularVelocity
bool KSPParticleEmitter.castShadows
Color KSPParticleEmitter.color
Color [] KSPParticleEmitter.colorAnimation
float KSPParticleEmitter.damping
bool KSPParticleEmitter.doesAnimateColor
bool KSPParticleEmitter.emit
float KSPParticleEmitter.emitterVelocityScale
Vector3 KSPParticleEmitter.force
float KSPParticleEmitter.lengthScale
Vector3 KSPParticleEmitter.localRotationAxis
Vector3 KSPParticleEmitter.localVelocity
Material KSPParticleEmitter.material
int KSPParticleEmitter.maxEmission
float KSPParticleEmitter.maxEnergy
float KSPParticleEmitter.maxParticleSize
float KSPParticleEmitter.maxSize
int KSPParticleEmitter.minEmission
float KSPParticleEmitter.minEnergy
float KSPParticleEmitter.minSize
ParticleSystemRenderMode KSPParticleEmitter.particleRenderMode
ParticleSystem KSPParticleEmitter.ps
bool KSPParticleEmitter.recieveShadows
float KSPParticleEmitter.rndAngularVelocity
Vector3 KSPParticleEmitter.rndForce
bool KSPParticleEmitter.rndRotation
Vector3 KSPParticleEmitter.rndVelocity
EmissionShape KSPParticleEmitter.shape
float KSPParticleEmitter.shape1D
Vector2 KSPParticleEmitter.shape2D
Vector3 KSPParticleEmitter.shape3D
float KSPParticleEmitter.sizeGrow
bool KSPParticleEmitter.useWorldSpace
int KSPParticleEmitter.uvAnimationCycles
int KSPParticleEmitter.uvAnimationXTile
int KSPParticleEmitter.uvAnimationYTile
float KSPParticleEmitter.velocityScale
Vector3 KSPParticleEmitter.worldRotationAxis
Vector3 KSPParticleEmitter.worldVelocity

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