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