|
| InputControl (string handle, InputControlType target) |
|
| InputControl (string handle, InputControlType target, bool passive) |
|
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) |
|
|
bool | Passive |
| When a control is passive, it will not cause a device to be considered active. This is useful for certain controls that spam data, like gyro or accelerometer input. Defaults to More...
|
|
float | FirstRepeatDelay = 0.8f |
|
float | RepeatDelay = 0.1f |
|
bool | Raw |
|
|
string | Handle [get, protected set] |
|
InputControlType | Target [get, protected set] |
|
bool | IsButton [get, protected set] |
|
bool | IsAnalog [get, protected set] |
|
bool | IsStandard [get] |
|
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] |
|
bool | HasChanged [get] |
|
bool | IsPressed [get] |
|
bool | WasPressed [get] |
|
bool | WasReleased [get] |
|
◆ Passive
When a control is passive, it will not cause a device to be considered active. This is useful for certain controls that spam data, like gyro or accelerometer input. Defaults to
false
.
The documentation for this class was generated from the following file:
- Assets/InControl/Source/Control/InputControl.cs