Click or drag to resize
SbColorSetRGBValue Method (Single)
Sets value of color vector from array of 3 RGB components.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.2.Release.8aafb2feb11098c1e662b6a8d337b44fd757e6f1
Syntax
public void SetRGBValue(
	float[] rgb
)

Parameters

rgb
Type: SystemSingle
array of RGB component.
Exceptions
ExceptionCondition
ArgumentExceptionIf array length does not equal three.
See Also