MD Package Technical & APi Documentation
MDG_HexagonGrid :: MD_GeometryBase
Namespace: MDPackage.Geometry
Properties
public float HexagonCellSize { get; set; }
public float HexagonOffsetX { get; set; }
public float HexagonOffsetZ { get; set; }
public bool IsPlanarHexagon { get; }
Public Methods
public void MDGHexagon_ChangePlanarHexagon(bool isPlanar)

// Modify spatial Hexagon Grid with min and max values. Process value corresponds to the randomized height
public void MDGHexagon_ModifyMesh(float min = 0, float max = 0, float processValue = 0)
// Randomize hexagon grid height by the specific min and max values
public void MDGHexagon_RandomizeHeight(float min, float max)
// Randomize hexagon grid height by the uniform value
public void MDGHexagon_RandomizeHeight(float uniformValue)
// Randomize hexagon grid height by the given serialized fields
public void MDGHexagon_RandomizeHeight()
// React the hexagon grid with any audio - requires spacial hexagon grid
public void MDGHexagon_SoundReact(MDM_SoundReact mdmsr)

public static GameObject CreateGeometry_HexagonGrid()
public static GameObject CreateGeometry_PlanarHexagon()
public static GameObject CreateGeometry_SpatialHexagon()