LDtkEnumValueDefinition

@Serializable
data class LDtkEnumValueDefinition(val tileSrcRect: List<Int>?, val id: String, val tileID: Int? = null, val color: Int)

Constructors

Link copied to clipboard
fun LDtkEnumValueDefinition(tileSrcRect: List<Int>?, id: String, tileID: Int? = null, color: Int)

Properties

Link copied to clipboard
val color: Int

The color value of the enum value

Link copied to clipboard
val id: String

Enum value

Link copied to clipboard
val tileID: Int? = null

The optional ID of the tile

Link copied to clipboard

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