Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add statistics to VoxelPrimitive #12463

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
use number of tiles with content ready instead of selected
  • Loading branch information
lukemckinstry committed Feb 5, 2025
commit 9003ab2cf0399ae4df1d98a00ccfcd055e927451
2 changes: 1 addition & 1 deletion packages/engine/Source/Scene/VoxelTraversal.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ function postPassesUpdate(
}
traverseRecursive(rootNode);

primitive.statistics.selected =
primitive.statistics.numberOfTilesWithContentReady =
loadStateByCount[KeyframeNode.LoadState.LOADED];
primitive.statistics.visited = nodeCountTotal;

Expand Down