distance(...)
distance(val: number): this;
Sets the normalized distance along the curve where child nodes are positioned.
A value of 0
indicates the start of the first segment; a value of 1
indicates the end of the final segment.
Parameters
Parameter | Type | Description |
---|---|---|
val | number | The normalized distance to set. |
Returns
this