LdtkTocEntry

ceramic.LdtkTocEntry (Class)

Represents a Table of Contents entry for entities marked with exportToToc. Provides quick access to all instances of a specific entity type across the project.

Instance Members

ldtk
ldtkData: LdtkData

The LdtkData object this toc entry belongs to


ldtk
identifier: String

Entity definition identifier


ldtk
instancesData: Array<LdtkTocInstanceData>

All instances of entities that have their exportToToc flag enabled are listed in this array.


ldtk
toString(): String
Returns
String

ldtk
new(?ldtkData: LdtkData, ?json: haxe.DynamicAccess<Dynamic>): Void

Creates a new table of contents entry.

Name Type Default Description
ldtkData LdtkData (optional) The parent LdtkData object
json haxe.DynamicAccess<Dynamic> (optional) The JSON data for this entry