SbColorGetHSVColor Method |
Gets a color vector from 3 HSV (hue, saturation, and value) components.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public static SbColor GetHSVColor(
float hue,
float sat,
float val
)
Public Shared Function GetHSVColor (
hue As Single,
sat As Single,
val As Single
) As SbColor
public:
static SbColor GetHSVColor(
float hue,
float sat,
float val
)
static member GetHSVColor :
hue : float32 *
sat : float32 *
val : float32 -> SbColor
Parameters
- hue
- Type: SystemSingle
Hue value. - sat
- Type: SystemSingle
Sat value. - val
- Type: SystemSingle
Value / brightness value.
Return Value
Type:
SbColorA
SbColor with the specified hue, saturation and brightness.
Remarks Value is the same as brightness of the color.
See Also