setFrame(frame)
Specifies the region of the baseTexture that this texture will use.
Parameters
| Name | Type | Description |
|---|---|---|
frame | Rectangle | The frame of the texture to set it to |
- Source code: pixi/textures/Texture.js (Line 178)
setFrame(frame)
Specifies the region of the baseTexture that this texture will use.
| Name | Type | Description |
|---|---|---|
frame | Rectangle | The frame of the texture to set it to |
Please login to continue.