Skip to content

rotation(...)

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.

rotation(deg: number): this;

Sets the rotation of the texture.

Default value: 0

ParameterTypeDescription
valnumberThe value to set the rotation to, in degrees.

this