Class MaterialProperty<T>
A generic base class for overriding material property in MaterialSwitchClip
Namespace: Unity.MaterialSwitch
Syntax
[Serializable]
public abstract class MaterialProperty<T> : MaterialSwitchProperty
Type Parameters
Name | Description |
---|---|
T |
Methods
GetTargetValue()
Get the value to be used for overriding a property.
Declaration
public T GetTargetValue()
Returns
Type | Description |
---|---|
T | The value for overriding a property. |