Immerseum.VRSimulator Namespace > InputAction Class : getAxisValueSource Method |
An array of InputAxis objects.
![]() |
Be careful! The axis list properties in the InputAction object are all stored as Lists. Therefore, be sure to convert them to Arrays before passing them to this method using the <axis-list>.ToArray() method. |
Returns the type of input device from which the axis value is being returned.
![]() |
Best Practice |
When an InputAction axis has multiple Input Axes defined, the ImmerseumSDK always returns the axis value with the highest value or greatest magnitude. |
An array of InputAxis objects.
![]() |
Be careful! The axis list properties in the InputAction object are all stored as Lists. Therefore, be sure to convert them to Arrays before passing them to this method using the <axis-list>.ToArray() method. |
Returns the InputType of the device from which the axis value was returned. Returns one of the following values:
InputType xAxisSource = getAxisValue(xAxisList.ToArray()); InputType rightTriggerSource = getAxisValue(rightTriggerAxisList.ToArray());