| SbColorRGBASetValue Method (Single) |
Sets value of color vector from array of 4 RGBA components.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2026.1.0.Release.0310c5a2706944284e5b97cec8929e1e2f70c73d
Syntaxpublic void SetValue(
float[] rgba
)
Public Sub SetValue (
rgba As Single()
)
public:
void SetValue(
array<float>^ rgba
)
member SetValue :
rgba : float32[] -> unit
Parameters
- rgba
- Type: SystemSingle
Array of 4 RGBA components
Exceptions| Exception | Condition |
|---|
| ArgumentException | If array length differs from four. |
See Also