| SbColorRGBA Structure |
Namespace: OIV.Inventor
The SbColorRGBA type exposes the following members.
| Name | Description | |
|---|---|---|
| SbColorRGBA(Single) |
Constructor that takes an array of 4 floats.
| |
| SbColorRGBA(SbVec4f) |
Constructor that takes a vector value.
| |
| SbColorRGBA(Single, Single, Single) |
Contruct an SbColorRGBA from 3 float
components.
| |
| SbColorRGBA(Single, Single, Single, Single) |
Constructor that takes 4 floats.
|
| 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.) | |
| GetHSVAValue(Single) |
Fill the array with the 4 HSVA color components. | |
| GetHSVAValue(Single, Single, Single, Single) |
Returns 4 individuals HSVA color components.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue(Single) |
Fill the array with the 4 RGBA color components. | |
| GetValue(Single, Single, Single, Single) |
Gets 4 individuals RGBA color components.
| |
| SetHSVAValue(Single) |
Sets value of color vector from array of 4 HSVA components.
| |
| SetHSVAValue(Single, Single, Single, Single) |
Sets value of color vector from an HSV (Hue, Saturation, and Value)
plus Alpha color value.
| |
| SetValue(Single) |
Sets value of color vector from array of 4 RGBA components.
| |
| SetValue(Single, Single, Single, Single) |
Sets value of color vector from 4 RGBA (Red, Green, Blue and Alphe) components.
| |
| ToString |
Converts this SbColorRGBA structure to a human readable string.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Equality |
The equality operator.
| |
| (SbColorRGBA to SbVec4f) |
Implicit cast operator to SbVec4f.
| |
| Inequality |
The inequality operator.
|
| Name | Description | |
|---|---|---|
| A |
Gets or sets the alpha component of color.
| |
| B |
Gets or sets the blue component of color.
| |
| G |
Gets or sets the green component of color.
| |
| Item |
Gets or sets the element at the specified index.
| |
| PackedValue |
Sets/gets value of color in an RGBA packed color value.
| |
| R |
Gets or sets the red component of color.
|