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.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
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