NWH Aerodynamics
Search Results for

    Show / Hide Table of Contents

    Class MobileAircraftInputProvider

    Handles aircraft input through mobile UI buttons. Can be combined with other input providers.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    InputProvider
    AircraftInputProviderBase
    MobileAircraftInputProvider
    Inherited Members
    AircraftInputProviderBase.mouseInput
    AircraftInputProviderBase.FlapsExtendFully()
    AircraftInputProviderBase.FlapsRetractFully()
    AircraftInputProviderBase.Spoilers()
    AircraftInputProviderBase.ThrottleCommon()
    AircraftInputProviderBase.ThrottleIdle()
    AircraftInputProviderBase.ThrottleFull()
    AircraftInputProviderBase.BrakesLeft()
    AircraftInputProviderBase.BrakesRight()
    AircraftInputProviderBase.PropPitch()
    AircraftInputProviderBase.PropPitchIncrease()
    AircraftInputProviderBase.PropPitchDecrease()
    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 MobileAircraftInputProvider : AircraftInputProviderBase

    Fields

    | Edit this page View Source

    aileronsLeft

    Left aileron input button for roll control.

    Declaration
    public MobileInputButton aileronsLeft
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    aileronsRight

    Right aileron input button for roll control.

    Declaration
    public MobileInputButton aileronsRight
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    aileronsTrimLeft

    Left aileron trim adjustment button.

    Declaration
    public MobileInputButton aileronsTrimLeft
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    aileronsTrimRight

    Right aileron trim adjustment button.

    Declaration
    public MobileInputButton aileronsTrimRight
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    brakes

    Common brake input button.

    Declaration
    public MobileInputButton brakes
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    elevatorDown

    Elevator down (nose down) input button.

    Declaration
    public MobileInputButton elevatorDown
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    elevatorTrimDown

    Elevator trim down adjustment button.

    Declaration
    public MobileInputButton elevatorTrimDown
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    elevatorTrimUp

    Elevator trim up adjustment button.

    Declaration
    public MobileInputButton elevatorTrimUp
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    elevatorUp

    Elevator up (nose up) input button.

    Declaration
    public MobileInputButton elevatorUp
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    engineStart

    Engine start input button.

    Declaration
    public MobileInputButton engineStart
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    engineStop

    Engine stop input button.

    Declaration
    public MobileInputButton engineStop
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    flapsExtend

    Flap extension input button.

    Declaration
    public MobileInputButton flapsExtend
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    flapsRetract

    Flap retraction input button.

    Declaration
    public MobileInputButton flapsRetract
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    landingGear

    Landing gear toggle button.

    Declaration
    public MobileInputButton landingGear
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    landingLights

    Landing lights toggle button.

    Declaration
    public MobileInputButton landingLights
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    navigationLights

    Navigation lights toggle button.

    Declaration
    public MobileInputButton navigationLights
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    parkingBrake

    Parking brake toggle button.

    Declaration
    public MobileInputButton parkingBrake
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    rudderLeft

    Left rudder input button for yaw control.

    Declaration
    public MobileInputButton rudderLeft
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    rudderRight

    Right rudder input button for yaw control.

    Declaration
    public MobileInputButton rudderRight
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    rudderTrimLeft

    Left rudder trim adjustment button.

    Declaration
    public MobileInputButton rudderTrimLeft
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    rudderTrimRight

    Right rudder trim adjustment button.

    Declaration
    public MobileInputButton rudderTrimRight
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    smokeSystem

    Smoke system toggle button.

    Declaration
    public MobileInputButton smokeSystem
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    throttleDecrease

    Throttle decrease input button.

    Declaration
    public MobileInputButton throttleDecrease
    Field Value
    Type Description
    MobileInputButton
    | Edit this page View Source

    throttleIncrease

    Throttle increase input button.

    Declaration
    public MobileInputButton throttleIncrease
    Field Value
    Type Description
    MobileInputButton

    Methods

    | Edit this page View Source

    Ailerons()

    Returns aileron input value ranging from -1 (full left) to +1 (full right).

    Declaration
    public override float Ailerons()
    Returns
    Type Description
    float

    Aileron deflection value

    Overrides
    AircraftInputProviderBase.Ailerons()
    | Edit this page View Source

    AileronsTrimLeft()

    Returns true when left aileron trim adjustment is requested.

    Declaration
    public override bool AileronsTrimLeft()
    Returns
    Type Description
    bool

    True if trim left is active

    Overrides
    AircraftInputProviderBase.AileronsTrimLeft()
    | Edit this page View Source

    AileronsTrimRight()

    Returns true when right aileron trim adjustment is requested.

    Declaration
    public override bool AileronsTrimRight()
    Returns
    Type Description
    bool

    True if trim right is active

    Overrides
    AircraftInputProviderBase.AileronsTrimRight()
    | Edit this page View Source

    Brakes()

    Returns true when common braking is requested for all wheels.

    Declaration
    public override bool Brakes()
    Returns
    Type Description
    bool

    True if brakes should engage

    Overrides
    AircraftInputProviderBase.Brakes()
    | Edit this page View Source

    Elevator()

    Returns elevator input value ranging from -1 (full down) to +1 (full up).

    Declaration
    public override float Elevator()
    Returns
    Type Description
    float

    Elevator deflection value

    Overrides
    AircraftInputProviderBase.Elevator()
    | Edit this page View Source

    ElevatorTrimDown()

    Returns true when downward elevator trim adjustment is requested.

    Declaration
    public override bool ElevatorTrimDown()
    Returns
    Type Description
    bool

    True if trim down is active

    Overrides
    AircraftInputProviderBase.ElevatorTrimDown()
    | Edit this page View Source

    ElevatorTrimUp()

    Returns true when upward elevator trim adjustment is requested.

    Declaration
    public override bool ElevatorTrimUp()
    Returns
    Type Description
    bool

    True if trim up is active

    Overrides
    AircraftInputProviderBase.ElevatorTrimUp()
    | Edit this page View Source

    EngineStartCommon()

    Returns true when engine start is requested for all engines.

    Declaration
    public override bool EngineStartCommon()
    Returns
    Type Description
    bool

    True if engines should start

    Overrides
    AircraftInputProviderBase.EngineStartCommon()
    | Edit this page View Source

    EngineStopCommon()

    Returns true when engine shutdown is requested for all engines.

    Declaration
    public override bool EngineStopCommon()
    Returns
    Type Description
    bool

    True if engines should stop

    Overrides
    AircraftInputProviderBase.EngineStopCommon()
    | Edit this page View Source

    FlapsExtend()

    Returns true when incremental flap extension is requested.

    Declaration
    public override bool FlapsExtend()
    Returns
    Type Description
    bool

    True if flaps should extend one notch

    Overrides
    AircraftInputProviderBase.FlapsExtend()
    | Edit this page View Source

    FlapsRetract()

    Returns true when incremental flap retraction is requested.

    Declaration
    public override bool FlapsRetract()
    Returns
    Type Description
    bool

    True if flaps should retract one notch

    Overrides
    AircraftInputProviderBase.FlapsRetract()
    | Edit this page View Source

    LandingGear()

    Returns true when landing gear toggle is requested.

    Declaration
    public override bool LandingGear()
    Returns
    Type Description
    bool

    True if landing gear should extend or retract

    Overrides
    AircraftInputProviderBase.LandingGear()
    | Edit this page View Source

    LandingLights()

    Returns true when landing lights toggle is requested.

    Declaration
    public override bool LandingLights()
    Returns
    Type Description
    bool

    True if landing lights should toggle

    Overrides
    AircraftInputProviderBase.LandingLights()
    | Edit this page View Source

    NavigationLights()

    Returns true when navigation lights toggle is requested.

    Declaration
    public override bool NavigationLights()
    Returns
    Type Description
    bool

    True if navigation lights should toggle

    Overrides
    AircraftInputProviderBase.NavigationLights()
    | Edit this page View Source

    ParkingBrake()

    Returns true when parking brake toggle is requested.

    Declaration
    public override bool ParkingBrake()
    Returns
    Type Description
    bool

    True if parking brake should toggle

    Overrides
    AircraftInputProviderBase.ParkingBrake()
    | Edit this page View Source

    Rudder()

    Returns rudder input value ranging from -1 (full left) to +1 (full right).

    Declaration
    public override float Rudder()
    Returns
    Type Description
    float

    Rudder deflection value

    Overrides
    AircraftInputProviderBase.Rudder()
    | Edit this page View Source

    RudderTrimLeft()

    Returns true when left rudder trim adjustment is requested.

    Declaration
    public override bool RudderTrimLeft()
    Returns
    Type Description
    bool

    True if trim left is active

    Overrides
    AircraftInputProviderBase.RudderTrimLeft()
    | Edit this page View Source

    RudderTrimRight()

    Returns true when right rudder trim adjustment is requested.

    Declaration
    public override bool RudderTrimRight()
    Returns
    Type Description
    bool

    True if trim right is active

    Overrides
    AircraftInputProviderBase.RudderTrimRight()
    | Edit this page View Source

    SmokeSystem()

    Returns true when smoke system toggle is requested.

    Declaration
    public override bool SmokeSystem()
    Returns
    Type Description
    bool

    True if smoke system should toggle

    Overrides
    AircraftInputProviderBase.SmokeSystem()
    | Edit this page View Source

    ThrottleDecrease()

    Returns true when incremental throttle decrease is requested.

    Declaration
    public override bool ThrottleDecrease()
    Returns
    Type Description
    bool

    True if throttle should decrease

    Overrides
    AircraftInputProviderBase.ThrottleDecrease()
    | Edit this page View Source

    ThrottleIncrease()

    Returns true when incremental throttle increase is requested.

    Declaration
    public override bool ThrottleIncrease()
    Returns
    Type Description
    bool

    True if throttle should increase

    Overrides
    AircraftInputProviderBase.ThrottleIncrease()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics