Phaser API Documentation

  Version: 
scaleUV(x, y)

Description:

Scales the original UV values of each vertex 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 Face instance.

Since: 3.60.0
Source: src/geom/mesh/Face.js (Line 433)