docs.unity.cn
    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.


    0
    SplineElement

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


    1
    SplineObject

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


    2
    World

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


    3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, April 27, 2023