LdtkEnumValueDefinition

ceramic.LdtkEnumValueDefinition (Class)

Instance Members

The LdtkDefinitions object this enum value def belongs to


ldtk
tileSrcRect: Array<Int>

An array of 4 Int values that refers to the tile in the tileset image: [ x, y, width, height ] (can be null)


ldtk
color: Color

Optional color


ldtk
id: String

Enum value


ldtk
tileId: Null<Int>

The optional ID of the tile


ldtk
toString(): String
Returns
String

Name Type Default
defs LdtkDefinitions (optional)
json haxe.DynamicAccess<Dynamic> (optional)