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: 2024.1.0.Release.36362e8575cf2e38cd7d69b9ff35aeb6cc000cdb
Syntax public 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