Class MaterialOverride
Represents a material override authoring component.
Inherited Members
Namespace: Global Namespace
Assembly: solution.dll
Syntax
[DisallowMultipleComponent]
[ExecuteInEditMode]
public class MaterialOverride : MonoBehaviour
Fields
Name | Description |
---|---|
override |
The material asset to override. |
override |
The list of overridden material properties. |
Methods
Name | Description |
---|---|
Apply |
Applies the material properties to the renderer. |
Clear |
Resets the renderer. |
On |
Calls ClearOverrides when the behaviour becomes disabled. |
On |