Function GridGraph.CalculateDimensions
CalculateDimensions
(out int width, out int depth, out float nodeSize)
Calculates the width/depth of the graph from unclampedSize and nodeSize.
Private
void CalculateDimensions (
out int | width | |
out int | depth | |
out float | nodeSize |
Calculates the width/depth of the graph from unclampedSize and nodeSize.
The node size may be changed due to constraints that the width/depth is not allowed to be larger than 1024 (artificial limit).