docs.unity3d.com
    Show / Hide Table of Contents

    Enum SectorInteraction.SweepBehavior

    Sets which strategy to use when sweeping the stick around the cardinal directions without returning to center for whether the action should perform or cancel.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Interactions
    Syntax
    public enum SweepBehavior

    Fields

    Name Description Value
    AllowReentry

    Perform if initially actuated in a configured valid direction. Cancels when no longer actuating in a valid direction, and performs again when re-entering a valid sector even when not returning to center.

    DisallowReentry

    Perform if initially actuated in a configured valid direction. Cancels when no longer actuating in a valid direction, and remains so when re-entering a valid sector without returning to center.

    HistoryIndependent

    Perform if actuated in a configured valid direction, no matter the initial actuation direction. Cancels when not actuated in a valid direction.

    Locked

    Perform if initially actuated in a configured valid direction, and will remain so (i.e. even if no longer actuating in a valid direction) until returning to center, at which point it will cancel.

    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