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