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

Public Member Functions

void CopyFrom (FlightCtrlState st)
 
 FlightCtrlState ()
 
 FlightCtrlState (float[] custom_axes)
 
Vector3 GetPYR ()
 
Vector2 GetWheels ()
 
Vector3 GetXYZ ()
 
void Load (ConfigNode node)
 
void MaskedCopyFrom (FlightCtrlState st, KSPAxisGroup mask)
 Selectively copy standard axis controls. Does not copy custom axis or gear/sas/lights state More...
 
void Neutralize ()
 
void NeutralizeAll ()
 
void NeutralizeStick ()
 
void ResetTrim ()
 
void Save (ConfigNode node)
 

Public Attributes

float[] custom_axes
 Stores current values of the custom axes More...
 
bool gearUp
 
bool headlight
 
bool killRot
 
float mainThrottle
 
float pitch
 
float pitchTrim
 
float roll
 
float rollTrim
 
float wheelSteer
 
float wheelSteerTrim
 
float wheelThrottle
 
float wheelThrottleTrim
 
float X
 
float Y
 
float yaw
 
float yawTrim
 
float Z
 

Properties

bool isIdle [get]
 
bool isNeutral [get]
 

Constructor & Destructor Documentation

FlightCtrlState.FlightCtrlState ( )
inline
FlightCtrlState.FlightCtrlState ( float[]  custom_axes)
inline

Member Function Documentation

void FlightCtrlState.CopyFrom ( FlightCtrlState  st)
inline
Vector3 FlightCtrlState.GetPYR ( )
inline
Vector2 FlightCtrlState.GetWheels ( )
inline
Vector3 FlightCtrlState.GetXYZ ( )
inline
void FlightCtrlState.Load ( ConfigNode  node)
inline

Implements IConfigNode.

void FlightCtrlState.MaskedCopyFrom ( FlightCtrlState  st,
KSPAxisGroup  mask 
)
inline

Selectively copy standard axis controls. Does not copy custom axis or gear/sas/lights state

void FlightCtrlState.Neutralize ( )
inline
void FlightCtrlState.NeutralizeAll ( )
inline
void FlightCtrlState.NeutralizeStick ( )
inline
void FlightCtrlState.ResetTrim ( )
inline
void FlightCtrlState.Save ( ConfigNode  node)
inline

Implements IConfigNode.

Member Data Documentation

float [] FlightCtrlState.custom_axes

Stores current values of the custom axes

bool FlightCtrlState.gearUp
bool FlightCtrlState.headlight
bool FlightCtrlState.killRot
float FlightCtrlState.mainThrottle
float FlightCtrlState.pitch
float FlightCtrlState.pitchTrim
float FlightCtrlState.roll
float FlightCtrlState.rollTrim
float FlightCtrlState.wheelSteer
float FlightCtrlState.wheelSteerTrim
float FlightCtrlState.wheelThrottle
float FlightCtrlState.wheelThrottleTrim
float FlightCtrlState.X
float FlightCtrlState.Y
float FlightCtrlState.yaw
float FlightCtrlState.yawTrim
float FlightCtrlState.Z

Property Documentation

bool FlightCtrlState.isIdle
get
bool FlightCtrlState.isNeutral
get

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