Click or drag to resize
ColorHSV Structure
A color defined in HSV space.

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

The ColorHSV type exposes the following members.

Constructors
  NameDescription
Public methodColorHSV(Color)
Initializes a new instance of the ColorHSV struct.
Public methodColorHSV(Single, Single, Single, Single)
Initializes a new instance of the ColorHSV struct.
Top
Methods
  NameDescription
Public methodClone
Clone this instance.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current ColorHSV.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(ColorHSV)
Determines whether the specified ColorHSV is equal to the current ColorHSV.
Public methodGetHashCode
Serves as a hash function for a ColorHSV object.
(Overrides ValueTypeGetHashCode.)
Public methodGetSerializedPropertiesHash
Gets a hash value that is based on the values of the serialized properties of this instance.
Public methodStatic memberLerp
Linearly interpolate the two specified Colors by the specified amount in HSV space.
Public methodToColor
Converts this instance to a Color.
Public methodToString
Returns a String that represents the current ColorHSV.
(Overrides ValueTypeToString.)
Top
Properties
  NameDescription
Public propertyAlpha
Gets the alpha.
Public propertyHue
Gets the hue.
Public propertySaturation
Gets the saturation.
Public propertyValue
Gets the luminance value.
Top
See Also