| SbColorGetRGBValue Method (Single) |
Fill an array of 3 RGB components.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.2.Release.8aafb2feb11098c1e662b6a8d337b44fd757e6f1
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