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