Enum SplineShape.Axis
Defines the axes used to project the input spline template to 2D coordinates.
Namespace: UnityEngine.Splines.ExtrusionShapes
Assembly: Unity.Splines.dll
Syntax
public enum SplineShape.Axis
Fields
Name | Description |
---|---|
X | Project from the horizontal (X) axis. Uses the {Y, Z} components of the position to form the 2D template coordinates. |
Y | Project from the vertical (Y) axis. Uses the {X, Z} components of the position to form the 2D template coordinates. |
Z | Project from the forward (Z) axis. Uses the {X, Y} components of the position to form the 2D template coordinates. |