Class NoInterpMinIntParameter
A VolumeParameter that holds a non-interpolating int
value that
clamped to a minimum value.
Inherited Members
Namespace: UnityEngine.Rendering
Syntax
[Serializable]
public class NoInterpMinIntParameter : VolumeParameter<int>, IEquatable<VolumeParameter<int>>
Constructors
NoInterpMinIntParameter(Int32, Int32, Boolean)
Creates a new NoInterpMinIntParameter instance.
Declaration
public NoInterpMinIntParameter(int value, int min, bool overrideState = false)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value | The initial value to store in the parameter. |
Int32 | min | The minimum value to clamp the parameter to. |
Boolean | overrideState | The initial override state for the parameter. |
Fields
min
The minimum value to clamp this parameter to.
Declaration
[NonSerialized]
public int min
Field Value
Type | Description |
---|---|
Int32 |
Properties
value
The value that this parameter stores.
Declaration
public override int value { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
UnityEngine.Rendering.VolumeParameter<System.Int32>.value
Remarks
You can override this property to define custom behaviors when the value is changed.