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