scale( )
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.
scale() : number[];
Gets the current scale value of the node, in the form [x, y, z]
.
Default value: [1, 1, 1]
Returns
Section titled “Returns”The scale of the node.
Example
Section titled “Example”var s = myobject.scale();// s is [1, 1, 1]