Function GridGraph.ConvertHexagonSizeToNodeSize
ConvertHexagonSizeToNodeSize
(InspectorGridHexagonNodeSize mode, float value)
Converts a hexagon dimension to a node size.
Public
Static
float ConvertHexagonSizeToNodeSize (
mode | ||
float | value |
Converts a hexagon dimension to a node size.
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.