InGameInspector.LODVizualizer
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Debug inspector tool that recolours every renderer in the scene by its LOD level, using the inspector's lodColors.
- Listed in Global namespace: I to L
- Nested in
InGameInspector - Inherits or implements
InGameInspector.InGameTool - Nested types
RendererMaterial
Constructors
| Member | What it is |
|---|---|
LODVizualizer(InGameInspector inspector) | Creates an InGameInspector.LODVizualizer from inspector. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private bool isActive | Whether the LOD colouring is on. |
private Material[] lodMaterials | One material per LOD colour, made from the inspector's lodMaterial. |
private List<InGameInspector.LODVizualizer.RendererMaterial> references | Renderers that were recoloured, with their original materials, so Disable can restore them. |
Properties
| Member | What it is |
|---|---|
override string Name { get; } | Shown on the inspector as "Lod Vizualizer". |
Methods
| Member | What it is |
|---|---|
override void Disable() | Puts back each renderer's original material and clears the list. |
override void Enable(Interactable pickup, Interactor interactor) | Resets the tool to inactive. |
override void PressClearAsync() | Toggles the LOD colouring on or off. |
override void PressDown() | Does nothing for this tool. |
override void PressUp() | Does nothing for this tool. |
override void ReceiveAngle(float angle) | Does nothing for this tool. |
override void ReceiveInput(PlayerInput controller) | Does nothing for this tool. |
override void Update() | Does nothing for this tool. |