Enum SplineType
Describes the different supported Spline representations.
Namespace: UnityEngine.Splines
Syntax
public enum SplineType : byte
Remarks
Internally all Spline objects are saved as series of cubic curves. In the editor Splines can be manipulated in a lower order form.
Fields
Name | Description | Value |
---|---|---|
Bezier | A series of connected cubic bezier curves. This is the default Spline type. |
|
CatmullRom | Catmull-Rom Spline is a type of Cubic Hermite Spline. Tangents are calculated from control points rather than discretely defined. See https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Catmull%E2%80%93Rom_spline for more information. |
|
Linear | A series of connected straight line segments. |