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 |
GetClipRegion | Method | Sets the tile clipping rectangle |
GetColor | Method | Gets the file color |
GetOrder | Method | Gets the file sort order |
GetMaterial | Method | Gets the tile material |
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 |
SetClipRegion | Method | Sets the tile clipping rectangle |
SetColor | Method | Sets the tile color |
SetHandle | Method | Sets the tile offset |
SetMaterial | Method | Sets the tile material |
SetPosition | Method | Sets the tile position in 2D space |
SetRotation | Method | Sets the tile rotation |
SetOrder | Method | Sets the tile sort order |
SetScale | Method | Sets the tile scale |
SetText | Method | Sets the tile text |
CreateTile | Function | Creates a new tile |