SbColor Methods |
The SbColor type exposes the following members.
Name | Description | |
---|---|---|
Equals |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
GetHashCode |
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.) | |
GetHSVColor |
Gets a color vector from 3 HSV (hue, saturation, and value) components. | |
GetHSVValue(Single) |
Fill an array of 3 HSV components. | |
GetHSVValue(Single, Single, Single) |
Returns 3 individual HSV components.
| |
GetPackedValue |
Returns an RGBA packed color value, derived from the color vector
with a transparency value to 0 (means no transparency).
| |
GetPackedValue(Single) |
Returns an RGBA packed color value, derived from the color vector
and the passed transparency value.
| |
GetRGBValue(Single) |
Fill an array of 3 RGB components.
| |
GetRGBValue(Single, Single, Single) |
Returns 3 individual RGB components.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetHSVValue(Single) |
Sets value of color vector from array of 3 HSV components.
| |
SetHSVValue(Single, Single, Single) |
Sets value of color vector from 3 HSV (hue, saturation, and value) components. | |
SetPackedValue |
Sets value of color vector from an RGBA packed color value. | |
SetRGBValue(Single) |
Sets value of color vector from array of 3 RGB components.
| |
SetRGBValue(Single, Single, Single) |
Sets value of color vector from 3 RGB (Red, Green, and Blue) components.
| |
ToString |
Converts this SbColor structure to a human readable string.
(Overrides ValueTypeToString.) |