docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRDeviceSimulator.Axis2DTargets

    The target device control(s) to update from input.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [Flags]
    public enum XRDeviceSimulator.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
    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.

    See Also
    axis2DTargets
    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)