Derm.Render.ColorRGBf Struct Reference
RGB color (floating point).
More...
List of all members.
Detailed Description
RGB color (floating point).
Constructor & Destructor Documentation
| Derm.Render.ColorRGBf.ColorRGBf |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b | |
|
) |
| | |
| Derm.Render.ColorRGBf.ColorRGBf |
( |
ColorRGBf |
c |
) |
|
Property Documentation
float Derm.Render.ColorRGBf.Blue [get, set] |
byte Derm.Render.ColorRGBf.ComponentsCount [get] |
Number of the components of this ColorRGBf.
- Returns:
- A System.Int32
float Derm.Render.ColorRGBf.Green [get, set] |
Green component property.
float Derm.Render.ColorRGBf.Red [get, set] |
float Derm.Render.ColorRGBf.this[int c] [get, set] |
Color component access.
- Parameters:
-
| c | A System.Int32 indicating the color component index (0 based). In the case this parameter is greater or equals to ComponentsCount, the operation won't be meaninfull. |
- Returns:
- The color component is converted to/from a normalized floating point number, where 0.0f indicates lowest intensity, while 1.0f indicated highest intensity.