Class Gradient
Assembly: UnityEngine.dll
Syntax
public class Gradient : IEquatable<Gradient>
Constructors
|
Improve this Doc
View Source
Gradient()
Declaration
Properties
alphaKeys
Declaration
public GradientAlphaKey[] alphaKeys { get; set; }
Property Value
colorKeys
Declaration
public GradientColorKey[] colorKeys { get; set; }
Property Value
mode
Declaration
public GradientMode mode { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
Object |
o |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(Gradient)
Declaration
public bool Equals(Gradient other)
Parameters
Returns
Evaluate(Single)
Declaration
public Color Evaluate(float time)
Parameters
Type |
Name |
Description |
Single |
time |
|
Returns
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
SetKeys(GradientColorKey[], GradientAlphaKey[])
Declaration
public void SetKeys(GradientColorKey[] colorKeys, GradientAlphaKey[] alphaKeys)
Parameters
Implements
Extension Methods