| SbColorGetRGBValue Method (Single) |
Fill an array of 3 RGB components.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2026.1.0.Release.0310c5a2706944284e5b97cec8929e1e2f70c73d
Syntaxpublic void GetRGBValue(
float[] rgb
)
Public Sub GetRGBValue (
rgb As Single()
)
public:
void GetRGBValue(
array<float>^ rgb
)
member GetRGBValue :
rgb : float32[] -> unit
Parameters
- rgb
- Type: SystemSingle
Allocated array to store the components.
Exceptions| Exception | Condition |
|---|
| ArgumentException | If array length is less than three. |
RemarksThe array must be allocated before the method call.
See Also