Show / Hide Table of Contents

Class 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

Inheritance
Object
TesseraTilemapOutput
Implements
ITesseraTileOutput
Namespace: Tessera
Assembly: cs.temp.dll.dll
Syntax
public class TesseraTilemapOutput : MonoBehaviour, ITesseraTileOutput

Fields

tilemap

The tilemap to write results to.

Declaration
public Tilemap tilemap
Field Value
Type Description
Tilemap

useSprites

If true, TesseraTiles that have a SpriteRenderer will be recorded to the Tilemap as that sprite. This is more efficient, but you will lose any other components on the object.

Declaration
public bool useSprites
Field Value
Type Description
Boolean

useWorld

If true, tiles will be transformed to align with the world space position of the generator.

Declaration
public bool useWorld
Field Value
Type Description
Boolean

Properties

IsEmpty

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
Boolean

SupportsIncremental

Declaration
public bool SupportsIncremental { get; }
Property Value
Type Description
Boolean

Methods

ClearTiles(IEngineInterface)

Declaration
public void ClearTiles(IEngineInterface engine)
Parameters
Type Name Description
IEngineInterface engine

UpdateTiles(TesseraCompletion, IEngineInterface)

Declaration
public void UpdateTiles(TesseraCompletion completion, IEngineInterface engine)
Parameters
Type Name Description
TesseraCompletion completion
IEngineInterface engine

Implements

ITesseraTileOutput
Back to top Generated by DocFX