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