Class TCastleTiledMapData.TTileset
Unit
Declaration
type TTileset = class(TObject)
Description
Tileset definition.
Hierarchy
- TObject
- TCastleTiledMapData.TTileset
Enclosing Class
Overview
Fields
FirstGID: Cardinal; |
|
Url: String; |
|
Name: String; |
|
TileWidth: Cardinal; |
|
TileHeight: Cardinal; |
|
Spacing: Cardinal; |
|
Margin: Cardinal; |
|
TileCount: Cardinal; |
|
Columns: Cardinal; |
|
TileOffset: TVector2Integer; |
|
Properties: TPropertyList; |
|
Image: TImage; |
|
Tiles: TTileList; |
|
TerrainTypes: TTerrainTypes; |
|
RendererData: TObject; |
Methods
constructor Create; |
|
destructor Destroy; override; |
Description
Fields
FirstGID: Cardinal; |
|
The first global tile ID of this tileset (this global ID maps to the first tile in this tileset). |
Url: String; |
|
If this tileset is stored in an external TSX (Tile Set XML) file, this attribute refers to that file. That TSX file has the same structure as the <tileset> element described here. (There is the firstgid attribute missing and this source attribute is also not there. These two attributes are kept in the TMX map, since they are map specific.) |
Name: String; |
|
The name of this tileset. |
TileWidth: Cardinal; |
|
The (maximum) width of the tiles in this tileset. |
TileHeight: Cardinal; |
|
The (maximum) height of the tiles in this tileset. |
Spacing: Cardinal; |
|
The spacing in pixels between the tiles in this tileset (applies to the tileset image). |
Margin: Cardinal; |
|
The margin around the tiles in this tileset (applies to the tileset image). |
TileCount: Cardinal; |
|
The number of tiles in this tileset (since 0.13) |
Columns: Cardinal; |
|
The number of tile |
TileOffset: TVector2Integer; |
|
This element is used to specify an offset in pixels, to be applied when drawing a tile from the related tileset. When not present, no offset is applied. |
Properties: TPropertyList; |
|
This item has no description. |
Image: TImage; |
|
This item has no description. |
Tiles: TTileList; |
|
This item has no description. |
TerrainTypes: TTerrainTypes; |
|
This item has no description. |
RendererData: TObject; |
|
Use to render the tileset. Not a part of the file format. In case of TCastleTiledMapControl, this is always TSprite. |
Methods
constructor Create; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.