LdtkTocInstanceData
ceramic.LdtkTocInstanceData (Class)
Contains instance data for an entity referenced in the table of contents. Includes location information to quickly find entities across levels.
Instance Members
The LdtkTocEntry object this instance data belongs to
An object containing the values of all entity fields with the exportToDoc option enabled.
Entity width in pixels as it appears in the LDtk editor
Entity height in pixels as it appears in the LDtk editor
Entity X coordinate in world pixels (across all levels)
Entity Y coordinate in world pixels (across all levels)
Unique instance identifier for the world containing this entity
Unique instance identifier for the level containing this entity
Unique instance identifier for the layer containing this entity
Unique instance identifier for this entity instance
| Returns |
|---|
| String |
| Name | Type | Default |
|---|---|---|
tocEntry |
LdtkTocEntry | (optional) |
json |
haxe.DynamicAccess<Dynamic> | (optional) |