Documentation

WangEdgeColor extends WangColor

WangEdgeColor object.

Tags
see
https://doc.mapeditor.org/en/stable/reference/tmx-map-format/#wangedgecolor

Documentation

Table of Contents

$color  : string|null
The color in #RRGGBB format.
$name  : string|null
The name of this color.
$probability  : float
The relative probability that this color is chosen over others in case of multiple options.
$tileId  : int|null
The tile ID of the tile representing this color.
getColor()  : string|null
getName()  : string|null
getProbability()  : float
getTileId()  : int|null
setColor()  : WangColor
setName()  : WangColor
setProbability()  : WangColor
setTileId()  : WangColor

Properties

Methods

getColor()

public getColor() : string|null
Return values
string|null

getName()

public getName() : string|null
Return values
string|null

getProbability()

public getProbability() : float
Return values
float

getTileId()

public getTileId() : int|null
Return values
int|null

Search results