Class ObjectParameter<T>
A VolumeParameter that holds a serializable class or struct.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class ObjectParameter<T> : VolumeParameter<T>, ICloneable, 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 override sealed bool overrideState { get; set; }
Property Value
Type | Description |
---|---|
bool |
Overrides
value
The value stored by this parameter.
Declaration
public override sealed T value { get; set; }
Property Value
Type | Description |
---|---|
T |