Class Vector2Parameter
A ParameterOverride<T> that holds a
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
[Serializable]
public sealed class Vector2Parameter : ParameterOverride<Vector2>
Remarks
The interpolation method for this parameter is the same as
Methods
Interp(Vector2, Vector2, Single)
Declaration
public override void Interp(Vector2 from, Vector2 to, float t)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | from | |
Vector2 | to | |
System.Single | t |
Overrides
UnityEngine.Rendering.PostProcessing.ParameterOverride<Vector2>.Interp(Vector2, Vector2, System.Single)
Operators
Implicit(Vector2Parameter to Vector3)
Implicit conversion between Vector2Parameter and a
Declaration
public static implicit operator Vector3(Vector2Parameter prop)
Parameters
Type | Name | Description |
---|---|---|
Vector2Parameter | prop | The parameter to implicitly cast |
Returns
Type | Description |
---|---|
Vector3 |
Implicit(Vector2Parameter to Vector4)
Implicit conversion between Vector2Parameter and a
Declaration
public static implicit operator Vector4(Vector2Parameter prop)
Parameters
Type | Name | Description |
---|---|---|
Vector2Parameter | prop | The parameter to implicitly cast |
Returns
Type | Description |
---|---|
Vector4 |