docs.unity3d.com
    Show / Hide Table of Contents

    Enum SplineAnimate.AlignmentMode

    Describes the ways the object can be aligned when animating along the spline.

    Namespace: UnityEngine.Splines
    Syntax
    public enum AlignmentMode

    Fields

    Name Description Value
    None

    No aligment is done and object's rotation is unaffected.

    SplineElement

    The object's forward and up axes align to the spline's tangent and up vectors.

    SplineObject

    The object's forward and up axes align to the spline tranform's z-axis and y-axis.

    World

    The object's forward and up axes align to to the world's z-axis and y-axis.

    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