Class GridTopologyMetricUtility
Provides deterministic cell-edge measurements for grid topology-aware traversal and padding.
public static class GridTopologyMetricUtility
- Inheritance
-
GridTopologyMetricUtility
- Inherited Members
Methods
GetMaxCellEdge(VoxelGrid)
Gets the largest 3D cell edge for the supplied grid.
public static Fixed64 GetMaxCellEdge(VoxelGrid grid)
Parameters
gridVoxelGrid
Returns
- Fixed64
GetPlanarMaxCellEdge(VoxelGrid)
Gets the largest X/Z-plane cell edge for the supplied grid.
public static Fixed64 GetPlanarMaxCellEdge(VoxelGrid grid)
Parameters
gridVoxelGrid
Returns
- Fixed64
GetRepresentativeCellEdge(GridWorld)
Gets a representative cell edge for a world, or the default rectangular cell size when no grid is active.
public static Fixed64 GetRepresentativeCellEdge(GridWorld world)
Parameters
worldGridWorld
Returns
- Fixed64