SbColorRGBASetHSVAValue Method (Single, Single, Single, Single) |
Sets value of color vector from an HSV (Hue, Saturation, and Value)
plus Alpha color value.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void SetHSVAValue(
float hue,
float sat,
float val,
float alpha
)
Public Sub SetHSVAValue (
hue As Single,
sat As Single,
val As Single,
alpha As Single
)
public:
void SetHSVAValue(
float hue,
float sat,
float val,
float alpha
)
member SetHSVAValue :
hue : float32 *
sat : float32 *
val : float32 *
alpha : float32 -> unit
Parameters
- hue
- Type: SystemSingle
- sat
- Type: SystemSingle
- val
- Type: SystemSingle
- alpha
- Type: SystemSingle
Exceptions Exception | Condition |
---|
ArgumentException |
If one of the components is not in range [0,1].
|
Remarks All components must be in the range 0 to 1.
Value is the same as brightness of the color.
See Also