Instance Property


The tile definitions used for this rule.


var tileDefinitions: [SKTileDefinition] { get set }


When this rule is evaluated and its conditions met, one of the definitions is randomly selected for placement based on their placement weights.

See Also

Accessing or Setting Tile Group Rule Properties

var adjacency: SKTileAdjacencyMask

The adjacency requirement for this rule.

struct SKTileAdjacencyMask

An enumeration defining how neighboring tiles are automatically placed next to each other.

var name: String?

A name associated with the tile group rule.