Class Vector3Parameter
A ParameterOverride<T> that holds a
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public sealed class Vector3Parameter : ParameterOverride<Vector3>
Remarks
The interpolation method for this parameter is the same as
Methods
Interp(Vector3, Vector3, Single)
Interpolates between two values given an interpolation factor t.
Declaration
public override void Interp(Vector3 from, Vector3 to, float t)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | from | The value to interpolate from |
| Vector3 | to | The value to interpolate to |
| Single | t | An interpolation factor (generally in range |
Overrides
UnityEngine.Rendering.PostProcessing.ParameterOverride<Vector3>.Interp(Vector3, Vector3, 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(Vector3Parameter to Vector2)
Implicit conversion between Vector3Parameter and a
Declaration
public static implicit operator Vector2(Vector3Parameter prop)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3Parameter | prop | The parameter to implicitly cast |
Returns
| Type | Description |
|---|---|
| Vector2 | A |
Implicit(Vector3Parameter to Vector4)
Implicit conversion between Vector3Parameter and a
Declaration
public static implicit operator Vector4(Vector3Parameter prop)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3Parameter | prop | The parameter to implicitly cast |
Returns
| Type | Description |
|---|---|
| Vector4 | A |