Search Results for

    Show / Hide Table of Contents

    Class MeshCreator_HexagonalView

    Creates the meshes for the hexagonal views.

    Inheritance
    object
    MeshCreator_HexagonalView
    Namespace: AS2.Visuals
    Assembly: .dll
    Syntax
    public static class MeshCreator_HexagonalView

    Methods

    | Edit this page View Source

    GetMesh_BaseExpansionHexagon()

    DEPRECATED.

    Creates a mesh for the base expansion hexagon (for use with the newest HexagonExpansionMaterial).

    Declaration
    public static Mesh GetMesh_BaseExpansionHexagon()
    Returns
    Type Description
    Mesh
    | Edit this page View Source

    GetMesh_BaseHexagonBackground()

    Returns a mesh for a base hexagon in the standard size.

    Declaration
    public static Mesh GetMesh_BaseHexagonBackground()
    Returns
    Type Description
    Mesh

    A simple mesh with 6 vertices and 4 triangles forming a hexagon. The origin is at the center of the hexagon.

    | Edit this page View Source

    GetMesh_CombinedExpansionRectangle()

    DEPRECATED.

    Creates a mesh for the base expansion hexagon (for use with the newest HexagonExpansionMaterial).

    Declaration
    public static Mesh GetMesh_CombinedExpansionRectangle()
    Returns
    Type Description
    Mesh
    | Edit this page View Source

    GetMesh_HexagonGridLine()

    A mesh that is a line of hexagons which form a grid. Put multiple next to each other to form the background for the hexagonal views. Every second row must be offset by the grid vector (0, 1).

    Declaration
    public static Mesh GetMesh_HexagonGridLine()
    Returns
    Type Description
    Mesh

    A UnityEngine.Mesh containing a line of const_hexagonalBGHexLineAmount hexagons for the hexagonal background grid.

    | Edit this page View Source

    GetMesh_MergingExpansionHexagon()

    The base mesh for the rendering of the hexagonal particles (Quad that is scaled and offset so that the pivot is at one grid position).

    Declaration
    public static Mesh GetMesh_MergingExpansionHexagon()
    Returns
    Type Description
    Mesh

    A quad mesh large enough to contain an expanded hexagonal particle if its origin is placed on a grid node.

    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX