Class AircraftInputProviderBase
Base InputProvider for aircraft.
Inheritance
Inherited Members
Namespace: NWH.Aerodynamics.AircraftController.Input
Assembly: NWH.Aerodynamics.dll
Syntax
public class AircraftInputProviderBase : InputProvider
Fields
| Edit this page View SourcemouseInput
Enables mouse position input for control surfaces. When true, mouse position controls elevator and ailerons.
Declaration
public bool mouseInput
Field Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceAilerons()
Returns aileron input value ranging from -1 (full left) to +1 (full right).
Declaration
public virtual float Ailerons()
Returns
| Type | Description |
|---|---|
| float | Aileron deflection value |
AileronsTrimLeft()
Returns true when left aileron trim adjustment is requested.
Declaration
public virtual bool AileronsTrimLeft()
Returns
| Type | Description |
|---|---|
| bool | True if trim left is active |
AileronsTrimRight()
Returns true when right aileron trim adjustment is requested.
Declaration
public virtual bool AileronsTrimRight()
Returns
| Type | Description |
|---|---|
| bool | True if trim right is active |
Brakes()
Returns true when common braking is requested for all wheels.
Declaration
public virtual bool Brakes()
Returns
| Type | Description |
|---|---|
| bool | True if brakes should engage |
BrakesLeft()
Returns true when left brake is requested for differential braking.
Declaration
public virtual bool BrakesLeft()
Returns
| Type | Description |
|---|---|
| bool | True if left brake should engage |
BrakesRight()
Returns true when right brake is requested for differential braking.
Declaration
public virtual bool BrakesRight()
Returns
| Type | Description |
|---|---|
| bool | True if right brake should engage |
Elevator()
Returns elevator input value ranging from -1 (full down) to +1 (full up).
Declaration
public virtual float Elevator()
Returns
| Type | Description |
|---|---|
| float | Elevator deflection value |
ElevatorTrimDown()
Returns true when downward elevator trim adjustment is requested.
Declaration
public virtual bool ElevatorTrimDown()
Returns
| Type | Description |
|---|---|
| bool | True if trim down is active |
ElevatorTrimUp()
Returns true when upward elevator trim adjustment is requested.
Declaration
public virtual bool ElevatorTrimUp()
Returns
| Type | Description |
|---|---|
| bool | True if trim up is active |
EngineStartCommon()
Returns true when engine start is requested for all engines.
Declaration
public virtual bool EngineStartCommon()
Returns
| Type | Description |
|---|---|
| bool | True if engines should start |
EngineStopCommon()
Returns true when engine shutdown is requested for all engines.
Declaration
public virtual bool EngineStopCommon()
Returns
| Type | Description |
|---|---|
| bool | True if engines should stop |
FlapsExtend()
Returns true when incremental flap extension is requested.
Declaration
public virtual bool FlapsExtend()
Returns
| Type | Description |
|---|---|
| bool | True if flaps should extend one notch |
FlapsExtendFully()
Returns true when full flap extension is requested.
Declaration
public virtual bool FlapsExtendFully()
Returns
| Type | Description |
|---|---|
| bool | True if flaps should extend to maximum |
FlapsRetract()
Returns true when incremental flap retraction is requested.
Declaration
public virtual bool FlapsRetract()
Returns
| Type | Description |
|---|---|
| bool | True if flaps should retract one notch |
FlapsRetractFully()
Returns true when full flap retraction is requested.
Declaration
public virtual bool FlapsRetractFully()
Returns
| Type | Description |
|---|---|
| bool | True if flaps should retract to minimum |
LandingGear()
Returns true when landing gear toggle is requested.
Declaration
public virtual bool LandingGear()
Returns
| Type | Description |
|---|---|
| bool | True if landing gear should extend or retract |
LandingLights()
Returns true when landing lights toggle is requested.
Declaration
public virtual bool LandingLights()
Returns
| Type | Description |
|---|---|
| bool | True if landing lights should toggle |
NavigationLights()
Returns true when navigation lights toggle is requested.
Declaration
public virtual bool NavigationLights()
Returns
| Type | Description |
|---|---|
| bool | True if navigation lights should toggle |
ParkingBrake()
Returns true when parking brake toggle is requested.
Declaration
public virtual bool ParkingBrake()
Returns
| Type | Description |
|---|---|
| bool | True if parking brake should toggle |
PropPitch()
Returns propeller pitch input value for variable-pitch propellers.
Declaration
public virtual float PropPitch()
Returns
| Type | Description |
|---|---|
| float | Propeller pitch value |
PropPitchDecrease()
Returns true when incremental propeller pitch decrease is requested.
Declaration
public virtual bool PropPitchDecrease()
Returns
| Type | Description |
|---|---|
| bool | True if prop pitch should decrease |
PropPitchIncrease()
Returns true when incremental propeller pitch increase is requested.
Declaration
public virtual bool PropPitchIncrease()
Returns
| Type | Description |
|---|---|
| bool | True if prop pitch should increase |
Rudder()
Returns rudder input value ranging from -1 (full left) to +1 (full right).
Declaration
public virtual float Rudder()
Returns
| Type | Description |
|---|---|
| float | Rudder deflection value |
RudderTrimLeft()
Returns true when left rudder trim adjustment is requested.
Declaration
public virtual bool RudderTrimLeft()
Returns
| Type | Description |
|---|---|
| bool | True if trim left is active |
RudderTrimRight()
Returns true when right rudder trim adjustment is requested.
Declaration
public virtual bool RudderTrimRight()
Returns
| Type | Description |
|---|---|
| bool | True if trim right is active |
SmokeSystem()
Returns true when smoke system toggle is requested.
Declaration
public virtual bool SmokeSystem()
Returns
| Type | Description |
|---|---|
| bool | True if smoke system should toggle |
Spoilers()
Returns true when spoiler deployment is requested.
Declaration
public virtual bool Spoilers()
Returns
| Type | Description |
|---|---|
| bool | True if spoilers should deploy |
ThrottleCommon()
Returns common throttle input value ranging from 0 (idle) to 1 (full power).
Declaration
public virtual float ThrottleCommon()
Returns
| Type | Description |
|---|---|
| float | Throttle position value |
ThrottleDecrease()
Returns true when incremental throttle decrease is requested.
Declaration
public virtual bool ThrottleDecrease()
Returns
| Type | Description |
|---|---|
| bool | True if throttle should decrease |
ThrottleFull()
Returns true when full throttle position is requested.
Declaration
public virtual bool ThrottleFull()
Returns
| Type | Description |
|---|---|
| bool | True if throttle should move to maximum |
ThrottleIdle()
Returns true when throttle idle position is requested.
Declaration
public virtual bool ThrottleIdle()
Returns
| Type | Description |
|---|---|
| bool | True if throttle should move to idle |
ThrottleIncrease()
Returns true when incremental throttle increase is requested.
Declaration
public virtual bool ThrottleIncrease()
Returns
| Type | Description |
|---|---|
| bool | True if throttle should increase |