Click or drag to resize

ControllerAxis Class

An Axis controller element.
Inheritance Hierarchy
SystemObject
  RewiredControllerElement
    RewiredControllerAxis

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class Axis : ControllerElement

The ControllerAxis type exposes the following members.

Properties
  NameDescription
Public propertycompoundElement
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.)
Public propertyelementIdentifier
The controller element identifier.
(Inherited from ControllerElement.)
Public propertyisMemberElement
Returns True if the element is a member of a compound element such as an Axis2D.
(Inherited from ControllerElement.)
Public propertylastTimeActive
Gets the last time the axis was active. NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
Public propertylastTimeActiveRaw
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.
Public propertylastTimeInactive
Gets the last time the axis was inactive. NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
Public propertylastTimeInactiveRaw
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.
Public propertylastTimeValueChanged
Gets the last time the axis value changed. NOTE: If comparing time against current time, always compare to ReInput.time.unscaledTime.
Public propertylastTimeValueChangedRaw
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.
Public propertypollingDeadZone
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]
Public propertytimeActive
The time in seconds this axis has been active.
Public propertytimeActiveRaw
The time in seconds this axis has been active based on raw value.
Public propertytimeInactive
The time in seconds this axis has been ainctive.
Public propertytimeInactiveRaw
The time in seconds this axis has been inactive based on raw value.
Public propertyvalue
Public propertyvalueDelta
Public propertyvalueDeltaRaw
Public propertyvaluePrev
Public propertyvalueRaw
Public propertyvalueRawPrev
Top
Methods
Fields
See Also