Class ColorParameter
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 ColorParameter : ParameterOverride<Color>
Remarks
The interpolation method for this parameter is the same as
Methods
Interp(Color, Color, Single)
Declaration
public override void Interp(Color from, Color to, float t)
Parameters
Type | Name | Description |
---|---|---|
Color | from | |
Color | to | |
System.Single | t |
Overrides
UnityEngine.Rendering.PostProcessing.ParameterOverride<Color>.Interp(Color, Color, System.Single)
Operators
Implicit(ColorParameter to Vector4)
Implicit conversion between ColorParameter and a
Declaration
public static implicit operator Vector4(ColorParameter prop)
Parameters
Type | Name | Description |
---|---|---|
ColorParameter | prop | The parameter to implicitly cast |
Returns
Type | Description |
---|---|
Vector4 |