Class TCastleTiledMapData.TTiledObject
Unit
Declaration
type TTiledObject = class(TObject)
Description
Object definition.
Source: scene/castletiledmap_data.inc (line 82).
Hierarchy
- TObject
- TCastleTiledMapData.TTiledObject
Enclosing Class
Overview
Fields
| Public | Id: Integer; |
| Public | Name: String; |
| Public | Type_: String; |
| Public | X: Single; |
| Public | Y: Single; |
| Public | Width: Single; |
| Public | Height: Single; |
| Public | Rotation: Single; |
| Public | GId: Cardinal; |
| Public | Visible: Boolean; |
| Public | Properties: TPropertyList; |
| Public | Points: TVector2List; |
| Public | Primitive: TTiledObjectPrimitive; |
| Public | Image: TImage; |
Methods
| Public | constructor Create; |
| Public | destructor Destroy; override; |
| Public | function Position: TVector2; |
Description
Fields
| Public | Id: Integer; |
|
Unique | |
| Public | Name: String; |
|
The name of the object. An arbitrary string. | |
| Public | Type_: String; |
|
The type of the object. An arbitrary string. | |
| Public | X: Single; |
|
The x coordinate of the object in pixels. | |
| Public | Y: Single; |
|
The y coordinate of the object in pixels. | |
| Public | Width: Single; |
|
The width of the object in pixels (defaults to 0). | |
| Public | Height: Single; |
|
The height of the object in pixels (defaults to 0). | |
| Public | Rotation: Single; |
|
The rotation of the object in degrees clockwise (defaults to 0). (since 0.10) | |
| Public | GId: Cardinal; |
|
An reference to a tile (optional). | |
| Public | Visible: Boolean; |
|
Whether the object is shown (1) or hidden (0). Defaults to 1. (since 0.9) | |
| Public | Properties: TPropertyList; |
|
This item has no description. | |
| Public | Points: TVector2List; |
|
List of points for poligon and poliline. | |
| Public | Primitive: TTiledObjectPrimitive; |
|
This item has no description. | |
| Public | Image: TImage; |
|
This item has no description. | |
Methods
| Public | constructor Create; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | function Position: TVector2; |
|
X and Y packed in a vector. | |
Generated by PasDoc 0.17.0.snapshot.