Skip to main content

VisibilityTimer

A class in Root.Township, the global namespace.

Editor test tool that times the new TriangleVisibilityUtility occluded-triangle pass against OldVisibilityTest on its child meshes.

Constructors​

MemberWhat it is
VisibilityTimer()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private bool testInspector button that runs Test.

Methods​

1 private and internal method
MemberWhat it is
private void Test()Runs both passes on every child mesh (skipping impostor shaders) and logs both times in milliseconds as an error.