Constructor BezierKnot
BezierKnot(float3)
Create a new BezierKnot struct.
Declaration
public BezierKnot(float3 position)
Parameters
Type | Name | Description |
---|---|---|
float3 | position | The position of the knot relative to the spline. |
BezierKnot(float3, float3, float3)
Creates a new BezierKnot struct.
Declaration
public BezierKnot(float3 position, float3 tangentIn, float3 tangentOut)
Parameters
Type | Name | Description |
---|---|---|
float3 | position | The position of the knot relative to the spline. |
float3 | tangentIn | The leading tangent to this knot. |
float3 | tangentOut | The following tangent to this knot. |
BezierKnot(float3, float3, float3, quaternion)
Create a new BezierKnot struct.
Declaration
public BezierKnot(float3 position, float3 tangentIn, float3 tangentOut, quaternion rotation)
Parameters
Type | Name | Description |
---|---|---|
float3 | position | The position of the knot relative to the spline. |
float3 | tangentIn | The leading tangent to this knot. |
float3 | tangentOut | The following tangent to this knot. |
quaternion | rotation | The rotation of the knot relative to the spline. |