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: 9.9.36.0.Release.d5e5954f18f5fba1171104a1eb3d2f8b0fc0d084
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
ExceptionsException | Condition |
---|
ArgumentException | If array length differs from four. |
See Also