Immerseum.VRSimulator Namespace > InputAxis Class : dimensions Property |
Indicates the number of dimensions that the axis returns a value in.
Returns an integer, typically either 1 or 2 depending on the input device the virtual axis is mapped to:
Input Axes with 1 dimension return a floating point value accessed through the properties: value and rawValue.
Input Axes with with 2 dimensions return Vector2 values through the properties: value2D and rawValue2D.