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