Internally updates the UV coordinates across all vertices of the given quad offset, based on the frame size.
You should not typically need to call this method directly, but it is left public should an extended class require it.
name | type | description |
---|---|---|
offset | number |
The offset in the vertices array of the quad to update. |
u1 | number |
The top-left UV coordinate. |
v1 | number |
The top-left UV coordinate. |
u2 | number |
The bottom-right UV coordinate. |
v2 | number |
The bottom-right UV coordinate. |