Class MeshCreator_HexagonalView
Creates the meshes for the hexagonal views.
Inheritance
Namespace: AS2.Visuals
Assembly: .dll
Syntax
public static class MeshCreator_HexagonalView
Methods
| Edit this page View SourceGetMesh_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 |
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. |
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 |
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 |
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. |