Click or drag to resize
ColorGradient Structure
A linear gradient between two Colors.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public struct ColorGradient : IPropertyBackingFieldCompatible<ColorGradient>, 
	IPropertyBackingFieldCompatible, ICloneable, IEquatable<ColorGradient>

The ColorGradient type exposes the following members.

Constructors
  NameDescription
Public methodColorGradient
Initializes a new instance of the ColorGradient struct.
Top
Methods
  NameDescription
Public methodClone
Clone this instance.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current ColorGradient.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(ColorGradient)
Determines whether the specified ColorGradient is equal to the current ColorGradient.
Public methodEvaluate
Evaluate the color at the specified parameter value.
Public methodGetHashCode
Serves as a hash function for a ColorGradient object.
(Overrides ValueTypeGetHashCode.)
Public methodGetSerializedPropertiesHash
Gets a hash value that is based on the values of the serialized properties of this instance.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value indicating whether or not the two ColorGradients are equal to one another.
Public operatorStatic memberInequality
Gets a value indicating whether or not the two ColorGradients are unequal to one another.
Top
Properties
  NameDescription
Public propertyInterpolationSpace
Gets the interpolation space.
Public propertyMaxColor
Gets the end color.
Public propertyMinColor
Gets the start color.
Top
See Also