Enum XRDeviceSimulator.Space
The coordinate space in which to operate.
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation
Syntax
public enum Space : int
Fields
Name | Description | Value |
---|---|---|
Local | Applies translations of a controller or HMD relative to its own coordinate space, considering its own rotations. Will translate a controller relative to itself, independent of the camera. |
0 |
Parent | Applies translations of a controller or HMD relative to its parent. If the object does not have a parent, meaning it is a root object, the parent coordinate space is the same as the world coordinate space. This is the same as Local but without considering its own rotations. |
1 |
Screen | Applies translations of a controller or HMD relative to the screen. Will translate a controller relative to the camera, independent of the controller's orientation. |
2 |