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: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
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