InControl API Reference
PlayerOneAxisAction Class Reference
Inheritance diagram for PlayerOneAxisAction:
OneAxisInputControl IInputControl

Public Attributes

BindingSourceType LastInputType = BindingSourceType.None
 The binding source type that last provided input to this action set. More...
 
- Public Attributes inherited from OneAxisInputControl
float FirstRepeatDelay = 0.8f
 
float RepeatDelay = 0.1f
 
bool Raw
 

Properties

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 OneAxisInputControl
ulong UpdateTick [get, protected set]
 
bool State [get]
 
bool LastState [get]
 
float? Value [get]
 
float? LastValue [get]
 
float? RawValue [get]
 
bool HasChanged [get]
 
bool IsPressed [get]
 
bool WasPressed [get]
 
bool WasReleased [get]
 
bool WasRepeated [get]
 
float Sensitivity [get, set]
 
float LowerDeadZone [get, set]
 
float UpperDeadZone [get, set]
 
float StateThreshold [get, set]
 
bool IsNullControl [get]
 
bool Enabled [get, set]
 
bool EnabledInHierarchy [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 OneAxisInputControl
bool UpdateWithState (bool state, ulong updateTick, float deltaTime)
 
bool UpdateWithValue (float value, ulong updateTick, float deltaTime)
 
void ClearInputState ()
 
void Commit ()
 
void CommitWithState (bool state, ulong updateTick, float deltaTime)
 
void CommitWithValue (float value, ulong updateTick, float deltaTime)
 
- Static Public Member Functions inherited from OneAxisInputControl
static implicit operator bool (OneAxisInputControl instance)
 
static implicit operator float (OneAxisInputControl instance)
 
- Protected Attributes inherited from OneAxisInputControl
bool isNullControl = false
 
bool ownerEnabled = true
 

Member Data Documentation

◆ LastInputType

BindingSourceType LastInputType = BindingSourceType.None

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

Property Documentation

◆ 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: