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
DetonatorSparks Class Reference
Inheritance diagram for DetonatorSparks:
DetonatorComponent

Public Member Functions

void BuildSparks ()
 
override void Explode ()
 
void FillMaterials (bool wipe)
 
override void Init ()
 
void Reset ()
 
void UpdateSparks ()
 
- Public Member Functions inherited from DetonatorComponent
Detonator MyDetonator ()
 
void SetStartValues ()
 

Public Attributes

Material sparksMaterial
 
- Public Attributes inherited from DetonatorComponent
Color color = Color.white
 
float detail = 1f
 
float detailThreshold
 
bool detonatorControlled = true
 
float duration = 2f
 
float explodeDelayMax = 0f
 
float explodeDelayMin = 0f
 
Vector3 force = Vector3.zero
 
Vector3 localPosition = Vector3.zero
 
bool on = true
 
float size = 1f
 
Color startColor = Color.white
 
float startDetail = 1f
 
float startDuration = 2f
 
Vector3 startForce = Vector3.zero
 
Vector3 startLocalPosition = Vector3.zero
 
float startSize = 1f
 
Vector3 startVelocity = Vector3.zero
 
float timeScale = 1f
 
Vector3 velocity = Vector3.zero
 

Member Function Documentation

void DetonatorSparks.BuildSparks ( )
inline
override void DetonatorSparks.Explode ( )
inlinevirtual

Implements DetonatorComponent.

void DetonatorSparks.FillMaterials ( bool  wipe)
inline
override void DetonatorSparks.Init ( )
inlinevirtual

Implements DetonatorComponent.

void DetonatorSparks.Reset ( )
inline
void DetonatorSparks.UpdateSparks ( )
inline

Member Data Documentation

Material DetonatorSparks.sparksMaterial

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