Members
X-component of top-left corner (x0,y0)
.
X-component of top-right corner (x1,y1)
.
X-component of bottom-right corner (x2,y2)
.
X-component of bottom-left corner (x3,y3)
.
Y-component of top-left corner (x0,y0)
.
Y-component of top-right corner (x1,y1)
.
Y-component of bottom-right corner (x2,y2)
.
Y-component of bottom-right corner (x3,y3)
.
Methods
Sets the texture Uvs based on the given frame information.
Name | Type | Description |
---|---|---|
frame |
PIXI.Rectangle |
The frame of the texture |
baseFrame |
PIXI.ISize |
The base frame of the texture |
rotate |
number |
Rotation of frame, see PIXI.groupD8 |