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: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public 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