ControllerAxis Class |
Namespace: Rewired
public sealed class Axis : ControllerElement
The ControllerAxis type exposes the following members.
Name | Description | |
---|---|---|
compoundElement |
Returns the Compound Element parent of this element if any.
Returns null if this Element is not a member of a Compound Element.
(Inherited from ControllerElement.) | |
elementIdentifier |
The controller element identifier.
(Inherited from ControllerElement.) | |
isMemberElement |
Returns True if the element is a member of a compound element such as an Axis2D.
(Inherited from ControllerElement.) | |
lastTimeActive |
Gets the last time the axis was active.
NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
| |
lastTimeActiveRaw |
Gets the last time the axis was active based on raw value.
NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
| |
lastTimeInactive |
Gets the last time the axis was inactive.
NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
| |
lastTimeInactiveRaw |
Gets the last time the axis was inactive based on raw value.
NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
| |
lastTimeValueChanged |
Gets the last time the axis value changed.
NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
| |
lastTimeValueChangedRaw |
Gets the last time the axis value changed based on raw value.
NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
| |
pollingDeadZone |
The polling dead zone used when polling the axis.
In order for the axis to be detected when polling, the change in absolute value
of the axis over the polling period must be greater than this amount.
Do not set this value extremely low or noisy axes will be detected when at rest.
A value of -1 means the default global polling dead zone will be used instead.
[Default = -1]
| |
timeActive |
The time in seconds this axis has been active.
| |
timeActiveRaw |
The time in seconds this axis has been active based on raw value.
| |
timeInactive |
The time in seconds this axis has been ainctive.
| |
timeInactiveRaw |
The time in seconds this axis has been inactive based on raw value.
| |
value | ||
valueDelta | ||
valueDeltaRaw | ||
valuePrev | ||
valueRaw | ||
valueRawPrev |
Name | Description | |
---|---|---|
Reset | (Inherited from ControllerElement.) |
Name | Description | |
---|---|---|
id |
The element identifier id.
(Inherited from ControllerElement.) | |
name |
The element name.
(Inherited from ControllerElement.) | |
type |
The element type.
(Inherited from ControllerElement.) |