TextRenderer.TextRendererDistanceChecker
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Private helper for TextRenderer that shows or hides text renderers with a max render distance based on how far they are from the local player. Not used on headless servers.
Constructors
Fields
3 private and internal fields
Methods
| Member | What it is |
|---|
static void Deregister(TextRenderer renderer) | Stops checking a renderer, and stops updating when none are left. |
static void Register(TextRenderer renderer) | Starts checking a renderer, caching the position of static ones. |
1 private and internal method
| Member | What it is |
|---|
private void Update() | Budgeted update: sets each renderer visible if it's within its max distance of the local player. |