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