| 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: 2025.1.2.Release.8aafb2feb11098c1e662b6a8d337b44fd757e6f1
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