SbColorSetRGBValue Method (Single) |
Sets value of color vector from array of 3 RGB components.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 9.9.36.0.Release.d5e5954f18f5fba1171104a1eb3d2f8b0fc0d084
Syntaxpublic void SetRGBValue(
float[] rgb
)
Public Sub SetRGBValue (
rgb As Single()
)
public:
void SetRGBValue(
array<float>^ rgb
)
member SetRGBValue :
rgb : float32[] -> unit
Parameters
- rgb
- Type: SystemSingle
array of RGB component.
ExceptionsException | Condition |
---|
ArgumentException | If array length does not equal three. |
See Also