Search Results for

    Show / Hide Table of Contents

    Class SquareFaceExtensions

    Inheritance
    object
    SquareFaceExtensions
    Namespace: Tessera
    Assembly: Tessera.dll
    Syntax
    public static class SquareFaceExtensions

    Methods

    Forward(SquareDir)

    Declaration
    public static Vector3Int Forward(this SquareDir dir)
    Parameters
    Type Name Description
    SquareDir dir
    Returns
    Type Description
    Vector3Int

    The normal vector for a given face.

    GetSide(SquareDir)

    Declaration
    public static int GetSide(this SquareDir dir)
    Parameters
    Type Name Description
    SquareDir dir
    Returns
    Type Description
    int

    Inverted(SquareDir)

    Declaration
    public static SquareDir Inverted(this SquareDir dir)
    Parameters
    Type Name Description
    SquareDir dir
    Returns
    Type Description
    SquareDir

    Returns the face dir with the opposite normal vector.

    In this article
    Back to top Generated by DocFX