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: 2025.2.0.RC.0a6fe6666992233cffde83847550fd441faba7a7
Syntaxpublic 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
ExceptionsException | Condition |
---|
ArgumentException |
If one of the components is not in range [0,1].
|
RemarksAll components must be in the range 0 to 1.
Value is the same as brightness of the color.
See Also