Struct AircraftInputActions.AirplaneControlsActions
Provides access to input actions defined in input action map "Airplane Controls".
Namespace: NWH.Aerodynamics.AircraftController.Input
Assembly: NWH.Aerodynamics.dll
Syntax
public struct AircraftInputActions.AirplaneControlsActions
Constructors
| Edit this page View SourceAirplaneControlsActions(AircraftInputActions)
Construct a new instance of the input action map wrapper class.
Declaration
public AirplaneControlsActions(AircraftInputActions wrapper)
Parameters
| Type | Name | Description |
|---|---|---|
| AircraftInputActions | wrapper |
Properties
| Edit this page View SourceAilerons
Provides access to the underlying input action "AirplaneControls/Ailerons".
Declaration
public InputAction Ailerons { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
AileronsTrimLeft
Provides access to the underlying input action "AirplaneControls/AileronsTrimLeft".
Declaration
public InputAction AileronsTrimLeft { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
AileronsTrimRight
Provides access to the underlying input action "AirplaneControls/AileronsTrimRight".
Declaration
public InputAction AileronsTrimRight { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
Brakes
Provides access to the underlying input action "AirplaneControls/Brakes".
Declaration
public InputAction Brakes { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
BrakesLeft
Provides access to the underlying input action "AirplaneControls/BrakesLeft".
Declaration
public InputAction BrakesLeft { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
BrakesRight
Provides access to the underlying input action "AirplaneControls/BrakesRight".
Declaration
public InputAction BrakesRight { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
Elevator
Provides access to the underlying input action "AirplaneControls/Elevator".
Declaration
public InputAction Elevator { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ElevatorTrimDown
Provides access to the underlying input action "AirplaneControls/ElevatorTrimDown".
Declaration
public InputAction ElevatorTrimDown { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ElevatorTrimUp
Provides access to the underlying input action "AirplaneControls/ElevatorTrimUp".
Declaration
public InputAction ElevatorTrimUp { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
EngineStartCommon
Provides access to the underlying input action "AirplaneControls/EngineStartCommon".
Declaration
public InputAction EngineStartCommon { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
EngineStopCommon
Provides access to the underlying input action "AirplaneControls/EngineStopCommon".
Declaration
public InputAction EngineStopCommon { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
FlapsExtend
Provides access to the underlying input action "AirplaneControls/FlapsExtend".
Declaration
public InputAction FlapsExtend { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
FlapsExtendFully
Provides access to the underlying input action "AirplaneControls/FlapsExtendFully".
Declaration
public InputAction FlapsExtendFully { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
FlapsRetract
Provides access to the underlying input action "AirplaneControls/FlapsRetract".
Declaration
public InputAction FlapsRetract { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
FlapsRetractFully
Provides access to the underlying input action "AirplaneControls/FlapsRetractFully".
Declaration
public InputAction FlapsRetractFully { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
LandingGear
Provides access to the underlying input action "AirplaneControls/LandingGear".
Declaration
public InputAction LandingGear { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
LandingLights
Provides access to the underlying input action "AirplaneControls/LandingLights".
Declaration
public InputAction LandingLights { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
NavigationLights
Provides access to the underlying input action "AirplaneControls/NavigationLights".
Declaration
public InputAction NavigationLights { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ParkingBrake
Provides access to the underlying input action "AirplaneControls/ParkingBrake".
Declaration
public InputAction ParkingBrake { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
PropPitch
Provides access to the underlying input action "AirplaneControls/PropPitch".
Declaration
public InputAction PropPitch { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
PropPitchDecrease
Provides access to the underlying input action "AirplaneControls/PropPitchDecrease".
Declaration
public InputAction PropPitchDecrease { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
PropPitchIncrease
Provides access to the underlying input action "AirplaneControls/PropPitchIncrease".
Declaration
public InputAction PropPitchIncrease { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
Rudder
Provides access to the underlying input action "AirplaneControls/Rudder".
Declaration
public InputAction Rudder { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
RudderTrimLeft
Provides access to the underlying input action "AirplaneControls/RudderTrimLeft".
Declaration
public InputAction RudderTrimLeft { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
RudderTrimRight
Provides access to the underlying input action "AirplaneControls/RudderTrimRight".
Declaration
public InputAction RudderTrimRight { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
SmokeSystem
Provides access to the underlying input action "AirplaneControls/SmokeSystem".
Declaration
public InputAction SmokeSystem { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
Spoilers
Provides access to the underlying input action "AirplaneControls/Spoilers".
Declaration
public InputAction Spoilers { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ThrottleCommon
Provides access to the underlying input action "AirplaneControls/ThrottleCommon".
Declaration
public InputAction ThrottleCommon { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ThrottleDecrease
Provides access to the underlying input action "AirplaneControls/ThrottleDecrease".
Declaration
public InputAction ThrottleDecrease { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ThrottleFull
Provides access to the underlying input action "AirplaneControls/ThrottleFull".
Declaration
public InputAction ThrottleFull { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ThrottleIdle
Provides access to the underlying input action "AirplaneControls/ThrottleIdle".
Declaration
public InputAction ThrottleIdle { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ThrottleIncrease
Provides access to the underlying input action "AirplaneControls/ThrottleIncrease".
Declaration
public InputAction ThrottleIncrease { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
enabled
Declaration
public bool enabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceAddCallbacks(IAirplaneControlsActions)
Adds UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed and UnityEngine.InputSystem.InputAction.canceled callbacks provided via on all input actions contained in this map.
Declaration
public void AddCallbacks(AircraftInputActions.IAirplaneControlsActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| AircraftInputActions.IAirplaneControlsActions | instance | Callback instance. |
Remarks
If instance is null or instance have already been added this method does nothing.
See Also
| Edit this page View SourceDisable()
Declaration
public void Disable()
Enable()
Declaration
public void Enable()
Get()
Provides access to the underlying input action map instance.
Declaration
public InputActionMap Get()
Returns
| Type | Description |
|---|---|
| InputActionMap |
RemoveCallbacks(IAirplaneControlsActions)
Unregisters and unregisters all input action callbacks via UnregisterCallbacks(IAirplaneControlsActions).
Declaration
public void RemoveCallbacks(AircraftInputActions.IAirplaneControlsActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| AircraftInputActions.IAirplaneControlsActions | instance |
See Also
| Edit this page View SourceSetCallbacks(IAirplaneControlsActions)
Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .
Declaration
public void SetCallbacks(AircraftInputActions.IAirplaneControlsActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| AircraftInputActions.IAirplaneControlsActions | instance |
Remarks
If instance is null, calling this method will only unregister all existing callbacks but not register any new callbacks.
See Also
Operators
| Edit this page View Sourceimplicit operator InputActionMap(AirplaneControlsActions)
Implicitly converts an
Declaration
public static implicit operator InputActionMap(AircraftInputActions.AirplaneControlsActions set)
Parameters
| Type | Name | Description |
|---|---|---|
| AircraftInputActions.AirplaneControlsActions | set |
Returns
| Type | Description |
|---|---|
| InputActionMap |