Class Tileset
A processed tileset stored in a Unity asset, ready for use in the Wildtile implementation of the wave function collapse algorithm.
Warning
This asset is not designed to be directly modified by users of Wildtile. Instead, use a TilesetImporterAsset and TilesetImporter to populate the Tileset asset. Take special care if editing it directly.
Inheritance
System.Object
Tileset
Namespace: CarbideFunction.Wildtile
Syntax
public class Tileset : ScriptableObject
Properties
Modules
Readonly access to the raw modules. These are not transformed and do not have their corner contents.
Declaration
public List<Module> Modules { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Module> |
Postprocessor
Readonly access to the postprocessor.
Declaration
public Postprocessor Postprocessor { get; }
Property Value
Type | Description |
---|---|
Postprocessor |
TileDimensions
Readonly access to the size of a single tile's bounding box in this tileset. All tiles have that same bounding box.
To change the tileDimensions, change the tileDimensions in TilesetImporterAsset and reimport the tileset.
Declaration
public Vector3 TileDimensions { get; }
Property Value
Type | Description |
---|---|
Vector3 |