TilingSprite
Creates a TilingSprite
API
TilingSprite Attributes
| Name | Type | Default | Description |
|---|---|---|---|
| texture | string object | undefined | The texture to use on the TilingSprite. |
| tile-scale |
| 1 | The scale factor of the tile. |
| tile-scale-x | number | 1 | The scale factor of the tile's x axis. |
| tile-scale-y | number | 1 | The scale factor of the tile's y axis. |
| tile-position |
| 0 | The offset position of the tile. |
| tile-position-x | number | 0 | The offset position of the tile's x axis. |
| tile-position-y | number | 0 | The offset position of the tile's y axis. |
| tile-transform | object | false | Whether or not anchor and position transforms should be applied to tiles. |
more props in Container Props and PIXI.TilingSprite
TilingSprite Events
| Name | Type | Description |
|---|---|---|
| render | function | custom render function |
more events in Container Events