NWH Aerodynamics
Search Results for

    Show / Hide Table of Contents

    Class InputSystemAircraftInputProvider

    Handles aircraft input through Unity's Input System package.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    InputProvider
    AircraftInputProviderBase
    InputSystemAircraftInputProvider
    Inherited Members
    AircraftInputProviderBase.mouseInput
    InputProvider.Instances
    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 InputSystemAircraftInputProvider : AircraftInputProviderBase

    Fields

    | Edit this page View Source

    aircraftInputActions

    Declaration
    public static AircraftInputActions aircraftInputActions
    Field Value
    Type Description
    AircraftInputActions

    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

    Awake()

    Declaration
    public void Awake()
    | 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

    BrakesLeft()

    Returns true when left brake is requested for differential braking.

    Declaration
    public override bool BrakesLeft()
    Returns
    Type Description
    bool

    True if left brake should engage

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

    BrakesRight()

    Returns true when right brake is requested for differential braking.

    Declaration
    public override bool BrakesRight()
    Returns
    Type Description
    bool

    True if right brake should engage

    Overrides
    AircraftInputProviderBase.BrakesRight()
    | 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

    FlapsExtendFully()

    Returns true when full flap extension is requested.

    Declaration
    public override bool FlapsExtendFully()
    Returns
    Type Description
    bool

    True if flaps should extend to maximum

    Overrides
    AircraftInputProviderBase.FlapsExtendFully()
    | 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

    FlapsRetractFully()

    Returns true when full flap retraction is requested.

    Declaration
    public override bool FlapsRetractFully()
    Returns
    Type Description
    bool

    True if flaps should retract to minimum

    Overrides
    AircraftInputProviderBase.FlapsRetractFully()
    | 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

    OnDisable()

    Declaration
    public void OnDisable()
    | Edit this page View Source

    OnEnable()

    Declaration
    public void OnEnable()
    | 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

    PropPitch()

    Returns propeller pitch input value for variable-pitch propellers.

    Declaration
    public override float PropPitch()
    Returns
    Type Description
    float

    Propeller pitch value

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

    PropPitchDecrease()

    Returns true when incremental propeller pitch decrease is requested.

    Declaration
    public override bool PropPitchDecrease()
    Returns
    Type Description
    bool

    True if prop pitch should decrease

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

    PropPitchIncrease()

    Returns true when incremental propeller pitch increase is requested.

    Declaration
    public override bool PropPitchIncrease()
    Returns
    Type Description
    bool

    True if prop pitch should increase

    Overrides
    AircraftInputProviderBase.PropPitchIncrease()
    | 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

    Spoilers()

    Returns true when spoiler deployment is requested.

    Declaration
    public override bool Spoilers()
    Returns
    Type Description
    bool

    True if spoilers should deploy

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

    ThrottleCommon()

    Returns common throttle input value ranging from 0 (idle) to 1 (full power).

    Declaration
    public override float ThrottleCommon()
    Returns
    Type Description
    float

    Throttle position value

    Overrides
    AircraftInputProviderBase.ThrottleCommon()
    | 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

    ThrottleFull()

    Returns true when full throttle position is requested.

    Declaration
    public override bool ThrottleFull()
    Returns
    Type Description
    bool

    True if throttle should move to maximum

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

    ThrottleIdle()

    Returns true when throttle idle position is requested.

    Declaration
    public override bool ThrottleIdle()
    Returns
    Type Description
    bool

    True if throttle should move to idle

    Overrides
    AircraftInputProviderBase.ThrottleIdle()
    | 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

    Update()

    Declaration
    public void Update()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics