struct
Point
public sealed struct Point Point that defines part of the spline. Two consecutive points define a segment of the spline. The Position, In/Out Handles and / properties are used to define the shape of the spline. P1 (Position) P1 (In) ▼ P1 (Out) o──────═══X═══──────o ───/ \─── ──/ \── -/ \- / \ | | P0 X X P2
Constructors
Point() Fields
| Name | Type | Description |
|---|---|---|
Position | Vector3 | The position of the spline point. |
In | Vector3 | Position of the In handle relative to the point position. |
Out | Vector3 | Position of the Out handle relative to the point position. |
Mode | HandleMode | Describes how the spline should behave when entering/leaving a point. The mmode and the handles In and Out position will determine the transition between segments. |
Roll | Single | Roll/Twist around the tangent axis. |
Scale | Vector3 | X = Scale Length, Y = Scale Width, Z = Scale Height |
Up | Vector3 | Custom up vector at a spline point, can be used to calculate tangent frames (transforms) along the spline. This allows fine grained control over the orientation of objects following the spline. |