KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
FlightInputHandler Class Reference

FlightInputHandler stores some global information about the control of the current active vessel. More...

Inheritance diagram for FlightInputHandler:

Public Member Functions

 FlightInputHandler ()
 
void OnDestroy ()
 

Static Public Member Functions

static void SetNeutralControls ()
 Call this to set neutral controls; in particular this wil turn off the throttle. More...
 

Public Attributes

bool hasFocus
 
Renderer[] inputGaugeRenderers
 
bool precisionMode
 Presumably, whether precision mode is engaged. More...
 
float rcsDeadZone
 
bool rcslock
 Whether RCS is enabled. More...
 
bool stageLock
 Presumably, whether staging has been locked via Alt-L. More...
 
float throttleResponsiveness
 

Static Public Attributes

static int currentTarget
 
static FlightInputHandler fetch
 Use this FlightInputHandler instance to access non-static members of the class. More...
 
static FlightInputCallback OnFlyByWire
 
static FlightCtrlState state
 The FlightCtrlState that represents player input. You can change the on-screen throttle by setting FlightCtrlState.state.mainThrottle. More...
 

Properties

static bool RCSLock [get]
 Whether RCS is enabled. More...
 

Detailed Description

FlightInputHandler stores some global information about the control of the current active vessel.

Constructor & Destructor Documentation

FlightInputHandler.FlightInputHandler ( )

Member Function Documentation

void FlightInputHandler.OnDestroy ( )
static void FlightInputHandler.SetNeutralControls ( )
static

Call this to set neutral controls; in particular this wil turn off the throttle.

Member Data Documentation

int FlightInputHandler.currentTarget
static
FlightInputHandler FlightInputHandler.fetch
static

Use this FlightInputHandler instance to access non-static members of the class.

bool FlightInputHandler.hasFocus
Renderer [] FlightInputHandler.inputGaugeRenderers
FlightInputCallback FlightInputHandler.OnFlyByWire
static
bool FlightInputHandler.precisionMode

Presumably, whether precision mode is engaged.

float FlightInputHandler.rcsDeadZone
bool FlightInputHandler.rcslock

Whether RCS is enabled.

bool FlightInputHandler.stageLock

Presumably, whether staging has been locked via Alt-L.

FlightCtrlState FlightInputHandler.state
static

The FlightCtrlState that represents player input. You can change the on-screen throttle by setting FlightCtrlState.state.mainThrottle.

float FlightInputHandler.throttleResponsiveness

Property Documentation

bool FlightInputHandler.RCSLock
staticget

Whether RCS is enabled.


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