Studio

scale(...)

scale(val: number[]): this;

Sets the scale of the texture.

Default value: [1, 1]

Parameters

Parameter Type Description
val array The value to set the scale to, in the following form: [x, y].

Returns

this

Open in new window