Skip to content

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(val: number[]): this;

Sets the scale of the texture.

Default value: [1, 1]

ParameterTypeDescription
valarrayThe value to set the scale to, in the following form: [x, y].

this