docs.unity3d.com
    Show / Hide Table of Contents

    Enum XRDeviceSimulator.Axis2DTargets

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

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

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023