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
KSP.FX.Fireworks.FireworkFXDefinition Class Reference

Public Member Functions

void Load (ConfigNode node)
 
void Save (ConfigNode node)
 

Public Attributes

string color1Name = "Color 1"
 The UI name of the burst Color 1 field More...
 
string color2Name = "Color 2"
 The UI name of the burst Color 2 field More...
 
string color3Name = "none"
 The UI name of the burst Color 3 field More...
 
string crackleSFX = "none"
 The GameDatabase name of the crackle sound effect, if any. More...
 
string displayName = "Bare"
 The UI name of the effect More...
 
FireworkEffectType fwType = FireworkEffectType.TRAIL
 Whether this is a trail or a burst More...
 
int id = -1
 Internal ID More...
 
float maxTrailLifetime = -1
 The aximum life of trail particles More...
 
float minTrailLifetime = -1
 The minimum life of trail particles More...
 
string name = "bareTrail"
 The internal name of the effect More...
 
string prefabName = "fx_fwTrail1"
 The internal name of the prefab More...
 
bool randomizeBurstOrientation
 Defines if the burst direction is randomized. More...
 

Member Function Documentation

void KSP.FX.Fireworks.FireworkFXDefinition.Load ( ConfigNode  node)
inline
void KSP.FX.Fireworks.FireworkFXDefinition.Save ( ConfigNode  node)
inline

Member Data Documentation

string KSP.FX.Fireworks.FireworkFXDefinition.color1Name = "Color 1"

The UI name of the burst Color 1 field

string KSP.FX.Fireworks.FireworkFXDefinition.color2Name = "Color 2"

The UI name of the burst Color 2 field

string KSP.FX.Fireworks.FireworkFXDefinition.color3Name = "none"

The UI name of the burst Color 3 field

string KSP.FX.Fireworks.FireworkFXDefinition.crackleSFX = "none"

The GameDatabase name of the crackle sound effect, if any.

string KSP.FX.Fireworks.FireworkFXDefinition.displayName = "Bare"

The UI name of the effect

FireworkEffectType KSP.FX.Fireworks.FireworkFXDefinition.fwType = FireworkEffectType.TRAIL

Whether this is a trail or a burst

int KSP.FX.Fireworks.FireworkFXDefinition.id = -1

Internal ID

float KSP.FX.Fireworks.FireworkFXDefinition.maxTrailLifetime = -1

The aximum life of trail particles

float KSP.FX.Fireworks.FireworkFXDefinition.minTrailLifetime = -1

The minimum life of trail particles

string KSP.FX.Fireworks.FireworkFXDefinition.name = "bareTrail"

The internal name of the effect

string KSP.FX.Fireworks.FireworkFXDefinition.prefabName = "fx_fwTrail1"

The internal name of the prefab

bool KSP.FX.Fireworks.FireworkFXDefinition.randomizeBurstOrientation

Defines if the burst direction is randomized.


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