position(...)
position(val: number[]): this;
Sets the position offset of the texture.
Default value: [0, 0]
Parameters
Parameter | Type | Description |
---|---|---|
val | array | The value to set the position to, in the following form: [x, y] . |
Returns
this
position(val: number[]): this;
Sets the position offset of the texture.
Default value: [0, 0]
Parameter | Type | Description |
---|---|---|
val | array | The value to set the position to, in the following form: [x, y] . |
this