Enum SplineAnimate.AlignmentMode
Describes the ways the object can be aligned when animating along the spline.
Namespace: UnityEngine.Splines
Assembly: Unity.Splines.dll
Syntax
public enum SplineAnimate.AlignmentMode
Fields
Name | Description |
---|---|
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. |