Table of Contents

Method Profile

Namespace
GrindFest.Editor
Assembly
GrindFest.dll

Profile(GameObject, float, float)

Profile a GameObject hierarchy, analyzing mesh distribution by category and Y-level.

public static PGGStructureProfiler.StructureProfile Profile(GameObject root, float cellSize = 5, float yStep = 2.5)

Parameters

root GameObject

Root GameObject to analyze

cellSize float

PGG cell size for footprint calculation (default 5m)

yStep float

Y-level grouping step (default 2.5m)

Returns

PGGStructureProfiler.StructureProfile