Class DepthOfFieldModeParameter
A VolumeParameter that holds a DepthOfFieldMode value.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public sealed class DepthOfFieldModeParameter : VolumeParameter<DepthOfFieldMode>, IEquatable<VolumeParameter<DepthOfFieldMode>>
Constructors
DepthOfFieldModeParameter(DepthOfFieldMode, Boolean)
Creates a new DepthOfFieldModeParameter instance.
Declaration
public DepthOfFieldModeParameter(DepthOfFieldMode value, bool overrideState = false)
Parameters
Type | Name | Description |
---|---|---|
DepthOfFieldMode | value | The initial value to store in the parameter. |
Boolean | overrideState | The initial override state for the parameter. |