Function GridGraph.ConvertNodeSizeToHexagonSize

ConvertNodeSizeToHexagonSize (InspectorGridHexagonNodeSize mode, float value)

Converts an internal node size to a hexagon dimension.

Public Static
float ConvertNodeSizeToHexagonSize (

InspectorGridHexagonNodeSize

mode

float

value

)

Converts an internal node size to a hexagon dimension.

A hexagon can be defined using either its diameter, or width, none of which are the same as the nodeSize used internally to define the size of a single node.