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 : int

    Fields

    Name Description Value
    None

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

    SplineElement

    Object's forward and up axes align to the Spline's tangent and up vectors.

    SplineObject

    Object's forward and up axes align to the Spline tranform's Z and Y axes.

    World

    Object's forward and up axes align to to the World's Z and Y axes.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, April 4, 2022
    Terms of use