Show / Hide Table of Contents

Namespace Tessera

Classes

AnimatedGenerator

Attach this to a TesseraGenerator to run the generator stepwise over several updates, displaying the changes so far.

Note

This class is available only in Tessera Pro

BiMap<U, V>

Represents a 1:1 mapping between two types

CountConstraint

Keeps track of the number of tiles in a given set, and ensure it is less than / more than a given number.

Note

This class is available only in Tessera Pro

CubeCellType

CubeFaceDirExtensions

DefaultCellTypeImpl

DefaultGridImpl

EnumeratorWithResult<T>

An IEnumerator that also records a given result when it is finished. It is intended for use with Unity coroutines.

FaceDetails

Records the painted colors for a single face of one cube in a TesseraTile

GridSymmetry

HexGeometryUtils

Note

This class is available only in Tessera Pro

HexPrismCellType

Note

This class is available only in Tessera Pro

HexPrismFaceDirExtensions

Note

This class is available only in Tessera Pro

InfiniteGenerator

InstantiateOutput

MeshData

A replacement for UnityEngine.Mesh that stores all the data in memory, for fast access from C#.

Note

This class is available only in Tessera Pro

MeshDeformation

Encapsulates an arbitrary deformation of mesh vertices

Note

This class is available only in Tessera Pro

MeshUtils

Utility for working with meshes.

Note

This class is available only in Tessera Pro

MirrorConstraint

Ensures that the generation is symmetric when x-axis mirrored. If there are any tile constraints, they will not be mirrored.

Note

This class is available only in Tessera Pro

PaletteEntry

PathConstraint

Forces a network of tiles to connect with each other, so there is always a complete path between them. Two tiles connect along the path if:

  • Both tiles are in pathTiles (if hasPathTiles set); and
  • The central color of the sides of the tiles leading to each other are in pathColors (if pathColors set)
Note

This class is available only in Tessera Pro

PrefixLookup<T>

Stores key-value pairs, with efficient searching for the longest key that is a prefix of a given string.

QuadInterpolation

SeparationConstraint

SquareCellType

SquareFaceDirExtensions

TesseraCompletion

Returned by TesseraGenerator after generation finishes

TesseraConstraint

Abstract class for all generator constraint components.

Note

This class is available only in Tessera Pro

TesseraGenerateOptions

Additional settings to customize the generation at runtime.

TesseraGenerator

GameObjects with this behaviour contain utilities to generate tile based levels using Wave Function Collapse (WFC). Call Generate(TesseraGenerateOptions) or StartGenerate(TesseraGenerateOptions) to run. The generation takes the following steps:

  • Inspect the tiles in tiles and work out how they rotate and connect to each other.
  • Setup any initial constraints that fix parts of the generation (initialConstraints).
  • Fix the boundary of the generation if skyBox is set.
  • Generate a set of tile instances that fits the above tiles and constraints.
  • Optionally retries or backtrack.
  • Instantiates the tile instances.

TesseraHexTile

GameObjects with this behaviour record adjacency information for use with a TesseraGenerator.

TesseraInitialConstraint

Initial constraint objects fix parts of the generation process in places. Use the utility methods on TesseraGenerator to create these objects.

TesseraInitialConstraintBuilder

TesseraInstantiateOutput

Attach this to a TesseraGenerator to control how tiles are instantiated.

Note

This class is available only in Tessera Pro

TesseraMeshOutput

Attach this to a TesseraGenerator to output the tiles to a single mesh instead of instantiating them.

Note

This class is available only in Tessera Pro

TesseraMultipassGenerator

TesseraMultipassPass

TesseraPalette

TesseraPinConstraint

TesseraPinned

TesseraSquareTile

GameObjects with this behaviour record adjacency information for use with a TesseraGenerator.

TesseraTile

GameObjects with this behaviour record adjacency information for use with a TesseraGenerator.

TesseraTileBase

TesseraTileInstance

Represents a request to instantiate a TesseraTile, post generation.

TesseraTilemapOutput

Attach this to a TesseraGenerator to output the tiles to a Unity Tilemap component instead of directly instantiating them.

Note

This class is available only in Tessera Pro

TesseraTransformedTile

Definesa Unity tile that has a specific transform applied to it. Used by TesseraTilemapOutput

TesseraTrianglePrismTile

GameObjects with this behaviour record adjacency information for use with a TesseraGenerator.

TesseraVolume

TesseraVolumeFilter

TileEntry

Specifies a tile to be used by TesseraGenerator

TileList

TileMapping

TriangleInterpolation

TrianglePrismCellType

Note

This class is available only in Tessera Pro

TrianglePrismFaceDirExtensions

Note

This class is available only in Tessera Pro

TrianglePrismGeometryUtils

Note

This class is available only in Tessera Pro

TRS

Rerpresents a position / rotation and scale. Much like a Transform, but without the association with a unity object.

UnityEngineInterface

Structs

CubeRotation

HexRotation

Represents rotations / reflections of a hexagon

Note

This class is available only in Tessera Pro

ModelTile

Actual tiles used internally. There's a many-to-one relationship between ModelTile and TesseraTile due to rotations and "big" tile support.

OrientedFace

Records the painted colors and location of single face of one cube in a TesseraTile

SquareRotation

Represents rotations / reflections of a square

TriangleRotation

Represents rotations / reflections of a hexagon

Note

This class is available only in Tessera Pro

Interfaces

ICellType

IEngineInterface

IGrid

Represents a arrangement of cells, including their adjacency and locations. Cells are uniquely identified by a Vector3Int. Tessera.IGrid is roughly equivalent to DeBroglie.Topo.ITopology.

ITesseraInitialConstraint

ITesseraTileOutput

Enums

AnimatedGenerator.AnimatedGeneratorState

CellFaceDir

Represents a particular face of a generic cell. The enum is empty - to work with directions, you need to either:

  • Use the methods on ICellType.
  • Cast to the enum specific to a given cell type, e.g. CubeFaceDir.

CellRotation

ChunkCleanupType

CubeFaceDir

Enum of the 6 faces on a cube.

FailureMode

HexPrismFaceDir

Enum of the 8 faces on a hex prism.

Note

This class is available only in Tessera Pro

MirrorConstraint.Axis

ModelType

Different models Tessera supports. The model dictates how nearby tiles relate to each other.

PinType

RotationGroupType

SquareFaceDir

Enum of the 4 sides of a square.

TesseraMultipassPassType

TesseraWfcAlgorithm

TrianglePrismFaceDir

Note

This class is available only in Tessera Pro

VolumeType

Back to top Generated by DocFX