Class WangColor
- Namespace
- DotTiled
- Assembly
- DotTiled.dll
Represents a Wang color in a Wang set.
public class WangColor : HasPropertiesBase, IHasProperties
- Inheritance
-
WangColor
- Implements
- Inherited Members
Properties
Class
The class of the Wang color.
public string Class { get; set; }
Property Value
Color
The color of the Wang color.
public required Color Color { get; set; }
Property Value
Name
The name of this color.
public required string Name { get; set; }
Property Value
Probability
The relative probability that this color is chosen over others in case of multiple options.
public float Probability { get; set; }
Property Value
Properties
The Wang color properties.
public List<IProperty> Properties { get; set; }
Property Value
Tile
The tile ID of the tile representing this color.
public required int Tile { get; set; }
Property Value
Methods
GetProperties()
The properties attached to the object.
public override IList<IProperty> GetProperties()