Namespace: MDPackage.Geometry
Procedural hexagon-grid generator at runtime in Unity Engine.
Read more here (Online documentation slide)
Public Methods
public void MDGHexagon_ChangePlanarHexagon(bool isPlanar)
public void MDGHexagon_RevertTriangles(bool revert)
public void MDGHexagon_ModifyMesh(float min = 0, float max = 0, float processValue = 0)
public void MDGHexagon_RandomizeHeight(float min, float max)
public void MDGHexagon_RandomizeHeight(float uniformValue)
public void MDGHexagon_SoundReact(MDM_SoundReact mdmsr)
public static GameObject CreateGeometry_HexagonGrid()
public static GameObject CreateGeometry_PlanarHexagon()
public static GameObject CreateGeometry_SpatialHexagon()
Public Fields and Properties
public float hexaCellSize = 1;
[Range(0.0f, 10.0f)] public float hexaOffsetX = 0.0f;
[Range(0.0f, 10.0f)] public float hexaOffsetZ = 0.0f;
public float hexaMaximumHeightRange = 1;
public float hexaMiminumHeightRange = 0.1f;
public bool IsPlanarHexagon { get; }
public bool IsTrianglesReverted { get; }