SbColorSetRGBValue Method (Single, Single, Single) |
Sets value of color vector from 3 RGB (Red, Green, and Blue) components.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 9.9.36.0.Release.d5e5954f18f5fba1171104a1eb3d2f8b0fc0d084
Syntaxpublic void SetRGBValue(
float r,
float g,
float b
)
Public Sub SetRGBValue (
r As Single,
g As Single,
b As Single
)
public:
void SetRGBValue(
float r,
float g,
float b
)
member SetRGBValue :
r : float32 *
g : float32 *
b : float32 -> unit
Parameters
- r
- Type: SystemSingle
red component. - g
- Type: SystemSingle
green component. - b
- Type: SystemSingle
blue component.
See Also