Class Vector4Parameter
A ParameterOverride<T> that holds a
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
[Serializable]
public sealed class Vector4Parameter : ParameterOverride<Vector4>
Remarks
The interpolation method for this parameter is the same as
Methods
Interp(Vector4, Vector4, Single)
Interpolates between two values given an interpolation factor t
.
Declaration
public override void Interp(Vector4 from, Vector4 to, float t)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | from | The value to interpolate from |
Vector4 | to | The value to interpolate to |
Single | t | An interpolation factor (generally in range |
Overrides
UnityEngine.Rendering.PostProcessing.ParameterOverride<Vector4>.Interp(Vector4, Vector4, System.Single)
Remarks
By default this method does a "snap" interpolation, meaning it will return the value
to
if t
is higher than 0, from
otherwise.
Operators
Implicit(Vector4Parameter to Vector2)
Implicit conversion between Vector4Parameter and a
Declaration
public static implicit operator Vector2(Vector4Parameter prop)
Parameters
Type | Name | Description |
---|---|---|
Vector4Parameter | prop | The parameter to implicitly cast |
Returns
Type | Description |
---|---|
Vector2 | A |
Implicit(Vector4Parameter to Vector3)
Implicit conversion between Vector4Parameter and a
Declaration
public static implicit operator Vector3(Vector4Parameter prop)
Parameters
Type | Name | Description |
---|---|---|
Vector4Parameter | prop | The parameter to implicitly cast |
Returns
Type | Description |
---|---|
Vector3 | A |