Class ObjectParameter<T>
A VolumeParameter that holds a serializable class or struct.
Inherited Members
Namespace: UnityEngine.Rendering
Syntax
public class ObjectParameter<T> : VolumeParameter<T>, IEquatable<VolumeParameter<T>>
Type Parameters
Name | Description |
---|---|
T | The type of serializable object or struct to hold in this parameter. |
Constructors
ObjectParameter(T)
Creates a new ObjectParameter<T> instance.
Declaration
public ObjectParameter(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The initial value to store in the parameter. |
Properties
overrideState
The current override state for this parameter. Note that this is always forced enabled on ObjectParameter<T>.
Declaration
public sealed override bool overrideState { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
value
The value stored by this parameter.
Declaration
public sealed override T value { get; set; }
Property Value
Type | Description |
---|---|
T |
Overrides
UnityEngine.Rendering.VolumeParameter<T>.value