Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FXCurve Class Reference

Classes

class  FXKeyFrame
 

Public Member Functions

void AddKeyframe (float time, float value)
 
 FXCurve (string valueName, float value)
 
void Load (string valueName, ConfigNode node)
 
void Save (ConfigNode node)
 
float Value ()
 
float Value (float time)
 

Static Public Member Functions

static implicit operator float (FXCurve instance)
 

Public Attributes

bool evalSingle = true
 
AnimationCurve fCurve = null
 
bool fCurveCompiled = false
 
List< FXKeyFramekeyFrames = new List<FXKeyFrame>()
 
float lastValue = 1f
 
float singleValue = -1f
 
string valueName = ""
 

Constructor & Destructor Documentation

FXCurve.FXCurve ( string  valueName,
float  value 
)
inline

Member Function Documentation

void FXCurve.AddKeyframe ( float  time,
float  value 
)
inline
void FXCurve.Load ( string  valueName,
ConfigNode  node 
)
inline
static implicit FXCurve.operator float ( FXCurve  instance)
inlinestatic
void FXCurve.Save ( ConfigNode  node)
inline
float FXCurve.Value ( )
inline
float FXCurve.Value ( float  time)
inline

Member Data Documentation

bool FXCurve.evalSingle = true
AnimationCurve FXCurve.fCurve = null
bool FXCurve.fCurveCompiled = false
List<FXKeyFrame> FXCurve.keyFrames = new List<FXKeyFrame>()
float FXCurve.lastValue = 1f
float FXCurve.singleValue = -1f
string FXCurve.valueName = ""

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