docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    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)