OpenEnroth 4aaa0a0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
HsvColorf Struct Reference

#include <HsvColorf.h>

Public Member Functions

constexpr HsvColorf ()=default
 
Colorf toColorf () const
 
Color toColor () const
 
HsvColorf adjusted (float dh, float xs, float xv) const
 

Public Attributes

float h = 0.0f
 
float s = 0.0f
 
float v = 0.0f
 
float a = 0.0f
 

Constructor & Destructor Documentation

◆ HsvColorf()

constexpr HsvColorf::HsvColorf ( )
constexprdefault

Member Function Documentation

◆ adjusted()

HsvColorf HsvColorf::adjusted ( float  dh,
float  xs,
float  xv 
) const

Performs a hue-saturation-value adjustment.

Parameters
dhHue delta, must be in [-180, 180].
xsSaturation multiplier, must be non-negative.
xvValue multiplier, must be non-negative
Returns
Adjusted HsvColorf.

◆ toColor()

Color HsvColorf::toColor ( ) const
Returns
This color, converted to Color.

◆ toColorf()

Colorf HsvColorf::toColorf ( ) const
Original binary offset:
0x0048A643
Returns
This color, converted to Colorf.

Member Data Documentation

◆ a

float HsvColorf::a = 0.0f

◆ h

float HsvColorf::h = 0.0f

◆ s

float HsvColorf::s = 0.0f

◆ v

float HsvColorf::v = 0.0f

The documentation for this struct was generated from the following files: