Enum TargetedDevices
The target device or devices to update from input.
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[Flags]
public enum TargetedDevices
Remarks
FlagsAttribute to support updating multiple controls from one input (e.g. to drive a controller and the head from the same input).
Fields
Name | Description |
---|---|
FPS | No target device, behaving as an FPS controller. |
HMD | Update HMD position and rotation. |
LeftDevice | Update left controller or hand position and rotation. |
None | No target device to update. |
RightDevice | Update right controller or hand position and rotation. |