docs.unity3d.com
    Show / Hide Table of Contents

    Enum LazyFollow.RotationFollowMode

    Defines the possible rotation follow modes for the lazy follow object.

    Namespace: UnityEngine.XR.Interaction.Toolkit.UI
    Syntax
    public enum RotationFollowMode

    Fields

    Name Description Value
    None

    The lazy follow object will not follow any rotation.


    0
    LookAt

    The lazy follow object will rotate to face the target (designed for use with main camera as the target), maintaining its orientation relative to the target.


    1
    LookAtWithWorldUp

    The lazy follow object will rotate to face the target (designed for use with main camera as the target), maintaining its orientation relative to the target. The up direction will be locked to the world up.


    2
    Follow

    The object will smoothly maintain the same rotation as the target.


    3
    See Also
    rotationFollowMode
    Back to top
    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