Click or drag to resize
SbColor Methods

The SbColor type exposes the following members.

Methods
  NameDescription
Public methodEquals
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.)
Public methodStatic memberGetHSVColor
Gets a color vector from 3 HSV (hue, saturation, and value) components.
Public methodGetHSVValue(Single)
Fill an array of 3 HSV components.
Public methodGetHSVValue(Single, Single, Single)
Returns 3 individual HSV components.
Public methodGetPackedValue
Returns an RGBA packed color value, derived from the color vector with a transparency value to 0 (means no transparency).
Public methodGetPackedValue(Single)
Returns an RGBA packed color value, derived from the color vector and the passed transparency value.
Public methodGetRGBValue(Single)
Fill an array of 3 RGB components.
Public methodGetRGBValue(Single, Single, Single)
Returns 3 individual RGB components.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetHSVValue(Single)
Sets value of color vector from array of 3 HSV components.
Public methodSetHSVValue(Single, Single, Single)
Sets value of color vector from 3 HSV (hue, saturation, and value) components.
Public methodSetPackedValue
Sets value of color vector from an RGBA packed color value.
Public methodSetRGBValue(Single)
Sets value of color vector from array of 3 RGB components.
Public methodSetRGBValue(Single, Single, Single)
Sets value of color vector from 3 RGB (Red, Green, and Blue) components.
Public methodToString
Converts this SbColor structure to a human readable string.
(Overrides ValueTypeToString.)
Top
See Also