Class IntParameter
A VolumeParameter that holds an int
value.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class IntParameter : VolumeParameter<int>, ICloneable, IEquatable<VolumeParameter<int>>
Constructors
IntParameter(int, bool)
Creates a new IntParameter instance.
Declaration
public IntParameter(int value, bool overrideState = false)
Parameters
Type | Name | Description |
---|---|---|
int | value | The initial value to store in the parameter. |
bool | overrideState | The initial override state for the parameter. |
See Also
Methods
Interp(int, int, float)
Interpolates between two int
values.
Declaration
public override sealed void Interp(int from, int to, float t)
Parameters
Type | Name | Description |
---|---|---|
int | from | The start value |
int | to | The end value |
float | t | The interpolation factor in range [0,1] |