BasicMeltingModel
A class in Root.Township, Alta.Blacksmithing.
Melting model that stores its physical material in its own field, for objects without a PhysicalMaterialPart.
- Listed in Crafting and making
- Inherits or implements
MeltingModel
Constructors
| Member | What it is |
|---|---|
BasicMeltingModel() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private PhysicalMaterial physicalMaterial | Backing field for PhysicalMaterial. |
Properties
| Member | What it is |
|---|---|
override PhysicalMaterial PhysicalMaterial { get; } | The material set on this model. |
Methods
| Member | What it is |
|---|---|
protected override void InternalSetup(PhysicalMaterial material) | Stores the given material. |