Enum XRDeviceSimulator.Axis2DTargets
The target device control(s) to update from input.
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation
Syntax
[Flags]
public enum Axis2DTargets
Remarks
FlagsAttribute to support updating multiple controls from input (e.g. to drive the primary and secondary 2D axis on a controller from the same input).
Fields
| Name | Description | Value |
|---|---|---|
| None | Do not update device state from input. |
|
| Position | Update device position from input. |
|
| Primary2DAxis | Update the primary touchpad or joystick on a controller device from input. |
|
| Secondary2DAxis | Update the secondary touchpad or joystick on a controller device from input. |