Class MaterialParameter
A VolumeParameter that holds a Material value.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class MaterialParameter : VolumeParameter<Material>, ICloneable, IEquatable<VolumeParameter<Material>>
Constructors
MaterialParameter(Material, bool)
Creates a new MaterialParameter instance.
Declaration
public MaterialParameter(Material value, bool overrideState = false)
Parameters
Type | Name | Description |
---|---|---|
Material | value | The initial value to store in the parameter |
bool | overrideState | The initial override state for the parameter |