SbColorSetRGBValue Method (Single) |
Sets value of color vector from array of 3 RGB components.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void SetRGBValue(
float[] rgb
)
Public Sub SetRGBValue (
rgb As Single()
)
public:
void SetRGBValue(
array<float>^ rgb
)
member SetRGBValue :
rgb : float32[] -> unit
Parameters
- rgb
- Type: SystemSingle
array of RGB component.
Exceptions Exception | Condition |
---|
ArgumentException | If array length does not equal three. |
See Also