InControl API Reference
PlayerTwoAxisAction Class Reference
Inheritance diagram for PlayerTwoAxisAction:
TwoAxisInputControl IInputControl

Public Attributes

BindingSourceType LastInputType = BindingSourceType.None
 The binding source type that last provided input to this action set. More...
 
- Public Attributes inherited from TwoAxisInputControl
DeadZoneFunc DeadZoneFunc = DeadZone.Circular
 
bool Raw
 

Properties

bool InvertXAxis [get, set]
 Gets or sets a value indicating whether the X axis should be inverted for this action. When false (default), the X axis will be positive up, the same as Unity. More...
 
bool InvertYAxis [get, set]
 Gets or sets a value indicating whether the Y axis should be inverted for this action. When false (default), the Y axis will be positive up, the same as Unity. More...
 
object UserData [get, set]
 This property can be used to store whatever arbitrary game data you want on this action. More...
 
new float LowerDeadZone [get, set]
 
new float UpperDeadZone [get, set]
 
- Properties inherited from TwoAxisInputControl
float X [get, protected set]
 
float Y [get, protected set]
 
OneAxisInputControl Left [get, protected set]
 
OneAxisInputControl Right [get, protected set]
 
OneAxisInputControl Up [get, protected set]
 
OneAxisInputControl Down [get, protected set]
 
ulong UpdateTick [get, protected set]
 
float Sensitivity [get, set]
 
float StateThreshold [get, set]
 
float LowerDeadZone [get, set]
 
float UpperDeadZone [get, set]
 
bool State [get]
 
bool LastState [get]
 
Vector2 Value [get]
 
Vector2 LastValue [get]
 
Vector2 Vector [get]
 
bool HasChanged [get, protected set]
 
bool IsPressed [get]
 
bool WasPressed [get]
 
bool WasReleased [get]
 
float Angle [get]
 
- Properties inherited from IInputControl
bool HasChanged [get]
 
bool IsPressed [get]
 
bool WasPressed [get]
 
bool WasReleased [get]
 

Events

Action< BindingSourceType > OnLastInputTypeChanged
 Occurs when the binding source type that last provided input to this action set changes. More...
 

Additional Inherited Members

- Public Member Functions inherited from TwoAxisInputControl
void ClearInputState ()
 
void Filter (TwoAxisInputControl twoAxisInputControl, float deltaTime)
 
- Static Public Member Functions inherited from TwoAxisInputControl
static implicit operator bool (TwoAxisInputControl instance)
 
static implicit operator Vector2 (TwoAxisInputControl instance)
 
static implicit operator Vector3 (TwoAxisInputControl instance)
 
- Static Public Attributes inherited from TwoAxisInputControl
static readonly TwoAxisInputControl Null = new TwoAxisInputControl()
 

Member Data Documentation

◆ LastInputType

BindingSourceType LastInputType = BindingSourceType.None

The binding source type that last provided input to this action set.

Property Documentation

◆ InvertXAxis

bool InvertXAxis
getset

Gets or sets a value indicating whether the X axis should be inverted for this action. When false (default), the X axis will be positive up, the same as Unity.

◆ InvertYAxis

bool InvertYAxis
getset

Gets or sets a value indicating whether the Y axis should be inverted for this action. When false (default), the Y axis will be positive up, the same as Unity.

◆ UserData

object UserData
getset

This property can be used to store whatever arbitrary game data you want on this action.

Event Documentation

◆ OnLastInputTypeChanged

Action<BindingSourceType> OnLastInputTypeChanged

Occurs when the binding source type that last provided input to this action set changes.


The documentation for this class was generated from the following file: