distance(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
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
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | number | The normalized distance to set. |
Returns
Section titled “Returns”this