IReferenceRenderer
An interface in Root.Township, the global namespace.
Implemented by components that keep references to renderers, so they can be updated when renderers are swapped, for example by baking. StackingComponent and DurabilityModule use it.
- Listed in Global namespace: I to L
- Derived types
StackingComponent,DurabilityModule,DurabilityModule.DurabilityVisual,RendererGroup
Methods
| Member | What it is |
|---|---|
void UpdateRenderers(Renderer[] oldFirstRenderers, Renderer[] newFirstRenderers) | Replaces references to the old renderers with the new ones. |