NWH Aerodynamics
Search Results for

    Show / Hide Table of Contents

    Class AircraftInputProviderBase

    Base InputProvider for aircraft.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    InputProvider
    AircraftInputProviderBase
    InputManagerVehicleInputProvider
    InputSystemAircraftInputProvider
    MobileAircraftInputProvider
    Inherited Members
    InputProvider.Instances
    InputProvider.Awake()
    InputProvider.OnDestroy()
    InputProvider.CombinedInput<T>(Func<T, int>)
    InputProvider.CombinedInput<T>(Func<T, float>)
    InputProvider.CombinedInput<T>(Func<T, bool>)
    InputProvider.CombinedInput<T>(Func<T, Vector2>)
    Namespace: NWH.Aerodynamics.AircraftController.Input
    Assembly: NWH.Aerodynamics.dll
    Syntax
    public class AircraftInputProviderBase : InputProvider

    Fields

    | Edit this page View Source

    mouseInput

    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 Source

    Ailerons()

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    LandingLights()

    Returns true when landing lights toggle is requested.

    Declaration
    public virtual bool LandingLights()
    Returns
    Type Description
    bool

    True if landing lights should toggle

    | Edit this page View Source

    NavigationLights()

    Returns true when navigation lights toggle is requested.

    Declaration
    public virtual bool NavigationLights()
    Returns
    Type Description
    bool

    True if navigation lights should toggle

    | Edit this page View Source

    ParkingBrake()

    Returns true when parking brake toggle is requested.

    Declaration
    public virtual bool ParkingBrake()
    Returns
    Type Description
    bool

    True if parking brake should toggle

    | Edit this page View Source

    PropPitch()

    Returns propeller pitch input value for variable-pitch propellers.

    Declaration
    public virtual float PropPitch()
    Returns
    Type Description
    float

    Propeller pitch value

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    SmokeSystem()

    Returns true when smoke system toggle is requested.

    Declaration
    public virtual bool SmokeSystem()
    Returns
    Type Description
    bool

    True if smoke system should toggle

    | Edit this page View Source

    Spoilers()

    Returns true when spoiler deployment is requested.

    Declaration
    public virtual bool Spoilers()
    Returns
    Type Description
    bool

    True if spoilers should deploy

    | Edit this page View Source

    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

    | Edit this page View Source

    ThrottleDecrease()

    Returns true when incremental throttle decrease is requested.

    Declaration
    public virtual bool ThrottleDecrease()
    Returns
    Type Description
    bool

    True if throttle should decrease

    | Edit this page View Source

    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

    | Edit this page View Source

    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

    | Edit this page View Source

    ThrottleIncrease()

    Returns true when incremental throttle increase is requested.

    Declaration
    public virtual bool ThrottleIncrease()
    Returns
    Type Description
    bool

    True if throttle should increase

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics