WoodcutTreeDamagedNodeBaker
A class in Root.Township, Alta.Woodcutting.
Node baker for chopped trunk pieces: one LOD, copies vertex colours, and uses the species' physical material channel A. Use the shared Instance.
- Listed in Crafting and making
- Inherits or implements
WoodcutTreeNodeBaker
Constructors
| Member | What it is |
|---|---|
WoodcutTreeDamagedNodeBaker() | Creates a WoodcutTreeDamagedNodeBaker with default values. |
Properties
| Member | What it is |
|---|---|
static WoodcutTreeDamagedNodeBaker Instance { get; } | Shared instance. |
override bool IsCopyingColors { get; } | True, so baked meshes carry the node's damage colours. |
override int MaxLods { get; } | 1. |
Methods
| Member | What it is |
|---|---|
override int GetLodCount(WoodcutTree.MapNode item) | Always 1. |
override Material GetMaterial(WoodcutTree.MapNode item, int index) | The species' physical material for channel A. |
override bool IsValid(WoodcutTree.MapNode item, int lod) | Always true. |