axis(...)
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.
axis(val:number[]) : this;
Sets the axis to billboard around.
Default value: [0, 0, 0]
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | array | The value to set the axis to, in the following form: [x, y, z] . A value of [0, 0, 0] results in billboarding around all axes. |
Returns
Section titled “Returns”this