TmxWangSetColor
format.tmx.TmxWangSetColor (Class)
A color that can be used to define the corner or an edge of a Wang tile.
Instance Members
name: String
The name of this color.
color: Int
The color in #RRGGBB format (example: #c17d11).
tile: Int
The tile ID of the tile representing this color.
probability: Float
The relative probability that this color is chosen over others in case of multiple options.
Name | Type | Description |
---|---|---|
name |
String | The name of this color. |
color |
Int | The color in #RRGGBB format (example: #c17d11). |
tile |
Int | The tile ID of the tile representing this color. |
probability |
Float | The relative probability that this color is chosen over others in case of multiple options. |
Metadata
Name | Parameters |
---|---|
:structInit |
- |