Base class: Object
This class provides an interface for displaying 2D shapes, images, and text.
| Property | Type | Description |
|---|---|---|
| color | Vec4 | Read-only tile color |
| position | Vec3 | Read-only tile position |
| rotation | float | Read-only tile rotation |
| scale | Vec2 | Read-only tile scale |
| text | WString | Read-only tile text |
| GetColor | Method | Gets the file color |
| GetMaterial | Method | Gets the tile material |
| GetOrder | Method | Gets the file sort order |
| GetPosition | Method | Gets the tile position in 2D space |
| GetRotation | Method | Gets the tile rotation |
| GetScale | Method | Gets the tile scale |
| MidHandle | Method | Sets the tile offset to the center |
| Move | Method | Moves the tile in 2D space |
| SetColor | Method | Sets the tile color |
| SetHandle | Method | Sets the tile offset |
| SetMaterial | Method | Sets the tile material |
| SetOrder | Method | Sets the tile sort order |
| SetPosition | Method | Sets the tile position in 2D space |
| SetRotation | Method | Sets the tile rotation |
| SetScale | Method | Sets the tile scale |
| SetText | Method | Sets the tile text |
| Turn | Method | Adds rotation to the tile |
| CreateTile | Function | Creates a new tile |
| LoadTile | Function | Loads a new tile from an image |