docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRDeviceSimulator.Space

    The coordinate space in which to operate.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum XRDeviceSimulator.Space

    Fields

    Name Description
    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.

    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.

    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.

    See Also
    keyboardTranslateSpace
    mouseTranslateSpace
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)