Search Results for

    Show / Hide Table of Contents

    Class TesseraCompletion

    Returned by TesseraGenerator after generation finishes

    Inheritance
    object
    TesseraCompletion
    Namespace: Tessera
    Assembly: Tessera.dll
    Syntax
    public class TesseraCompletion

    Properties

    backtrackCount

    The number of times the generation process backtracked.

    Declaration
    public int backtrackCount { get; set; }
    Property Value
    Type Description
    int

    contradictionLocation

    If success is false, indicates where the generation failed.

    Declaration
    public Vector3Int? contradictionLocation { get; set; }
    Property Value
    Type Description
    Vector3Int?

    contradictionReason

    If success is false, indicates why the generation failed. This is not always helpful due to the nature of WFC. See the manual for more advice.

    Declaration
    public string contradictionReason { get; set; }
    Property Value
    Type Description
    string

    grid

    Describes the geometry and layout of the cells. See separate Sylves documentations for more details. https://www.boristhebrave.com/docs/sylves/1

    Declaration
    public IGrid grid { get; set; }
    Property Value
    Type Description
    IGrid

    gridTransform

    The position of the grid in world space. (Sylves grids always operate in local space).

    Declaration
    public TRS gridTransform { get; set; }
    Property Value
    Type Description
    TRS

    isIncremental

    Indicates these instances should be added to the previous set of instances.

    Declaration
    public bool isIncremental { get; set; }
    Property Value
    Type Description
    bool

    retries

    The number of times the generation process was restarted.

    Declaration
    public int retries { get; set; }
    Property Value
    Type Description
    int

    success

    True if all tiles were successfully found.

    Declaration
    public bool success { get; set; }
    Property Value
    Type Description
    bool

    tileData

    The raw tile data, describing which tile is located in each cell.

    Declaration
    public IDictionary<Vector3Int, ModelTile> tileData { get; set; }
    Property Value
    Type Description
    IDictionary<Vector3Int, ModelTile>

    tileInstances

    The list of tiles to create. Big tiles will be listed a single time, and each TesseraTileInstance has the world position set.

    Declaration
    public IList<TesseraTileInstance> tileInstances { get; }
    Property Value
    Type Description
    IList<TesseraTileInstance>

    Methods

    LogErrror()

    Writes error information to Unity's log.

    Declaration
    public void LogErrror()
    In this article
    Back to top Generated by DocFX