Class Vector4Parameter
A VolumeParameter that holds a Vector4
value.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class Vector4Parameter : VolumeParameter<Vector4>, ICloneable, IEquatable<VolumeParameter<Vector4>>
Constructors
Vector4Parameter(Vector4, bool)
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. |
bool | overrideState | The initial override state for the parameter. |
See Also
Methods
Interp(Vector4, Vector4, float)
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. |
float | t | The interpolation factor in range [0,1]. |