Implements
Methods
Multiply input normalized coordinates to this matrix to get sprite texture normalized coordinates.
Use outputMatrix * vTextureCoord
in the shader.
Name | Type | Description |
---|---|---|
outputMatrix |
Matrix |
The matrix to output to. |
sprite |
Sprite |
The sprite to map to. |
Returns:
Type | Description |
---|---|
Matrix | The mapped matrix. |