docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property directionalManipulationInput

    directionalManipulationInput

    Input to use for rotating the attach point to match the direction of the input. This effectively rotates the selected grab interactable or teleport target to match the direction of the input.

    Declaration
    public XRInputValueReader<Vector2> directionalManipulationInput { get; set; }
    Property Value
    Type Description
    XRInputValueReader<Vector2>
    Remarks

    The direction angle should be computed as the arctangent function of x/y.

    See Also
    MatchDirection
    In This Article
    Back to top
    Copyright © 2023 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)