LdtkTilesetDefinition
Instance Members
The LdtkDefinitions
object this tileset belongs to
The Ceramic tileset generated from this tileset
Grid-based height
Grid-based width
An array of custom tile metadata
If this value isn't None
, then it means that this atlas uses an internal LDtk atlas image instead of a loaded one.
Tileset tags using Enum values specified by tagsSourceEnumId. This array contains 1 element per Enum value, which contains an array of all Tile IDs that are tagged with it.
User defined unique identifier
Distance in pixels from image borders
Image height in pixels
Image width in pixels
Path to the source file, relative to the current project JSON file It can be null if no image was provided, or when using an embed atlas.
Space in pixels between all tiles
An array of user-defined tags to organize the Tilesets
Optional Enum definition UID used for this tileset meta-data
The size of a tile in this tileset
Unique Int identifier
Array of colors (with alpha) for this tileset tiles. Can be useful to know if a tile is opaque or not.
Name | Type |
---|---|
data |
String |
Returns |
---|
Int |
Name | Type |
---|---|
tileId |
Int |
Returns |
---|
AlphaColor |
Returns |
---|
String |
Name | Type | Default |
---|---|---|
defs |
LdtkDefinitions | (optional) |
json |
haxe.DynamicAccess<Dynamic> | (optional) |