Phaser API Documentation

  Version: 
scaleUV(x, y)

Description:

Scales the original UV values by the given amounts.

The original properties Vertex.u and Vertex.v remain unchanged, only the translated properties Vertex.tu and Vertex.tv, as used in rendering, are updated.

Parameters:

name type description
x number

The amount to scale the UV u coordinate by.

y number

The amount to scale the UV v coordinate by.

Returns:
Description:

This Vertex.

Since: 3.60.0
Source: src/geom/mesh/Vertex.js (Line 237)