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: StringThe name of this color.
color: IntThe color in #RRGGBB format (example: #c17d11).
tile: IntThe tile ID of the tile representing this color.
probability: FloatThe 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 |
- |