DDraceNetwork Docs
ColorHSVA Class Reference

#include <color.h>

Inheritance diagram for ColorHSVA:
[legend]
Collaboration diagram for ColorHSVA:
[legend]

Public Member Functions

 ColorHSVA ()
 
 color4_base ()
 
 color4_base (const vec4 &v4)
 
 color4_base (const vec3 &v3)
 
 color4_base (float nx, float ny, float nz, float na)
 
 color4_base (float nx, float ny, float nz)
 
 color4_base (unsigned col, bool alpha=false)
 
- Public Member Functions inherited from color4_base< ColorHSVA >
 color4_base ()
 
 color4_base (const vec4 &v4)
 
 color4_base (const vec3 &v3)
 
 color4_base (float nx, float ny, float nz, float na)
 
 color4_base (float nx, float ny, float nz)
 
 color4_base (unsigned col, bool alpha=false)
 
vec4 v4 () const
 
 operator vec4 () const
 
float & operator[] (int index)
 
bool operator== (const color4_base &col) const
 
bool operator!= (const color4_base &col) const
 
unsigned Pack (bool Alpha=true) const
 
unsigned PackAlphaLast (bool Alpha=true) const
 
ColorHSVA WithAlpha (float alpha) const
 
ColorHSVA WithMultipliedAlpha (float alpha) const
 
ColorHSVA Multiply (const ColorHSVA &Other) const
 

Additional Inherited Members

- Static Public Member Functions inherited from color4_base< ColorHSVA >
static UnpackT UnpackAlphaLast (unsigned Color, bool Alpha=true)
 
- Public Attributes inherited from color4_base< ColorHSVA >
float x
 
float r
 
float h
 
union {
   float   x
 
   float   r
 
   float   h
 
}; 
 
float y
 
float g
 
float s
 
union {
   float   y
 
   float   g
 
   float   s
 
}; 
 
float z
 
float b
 
float l
 
float v
 
union {
   float   z
 
   float   b
 
   float   l
 
   float   v
 
}; 
 
float w
 
float a
 
union {
   float   w
 
   float   a
 
}; 
 

Constructor & Destructor Documentation

◆ ColorHSVA()

ColorHSVA::ColorHSVA ( )
inline

Member Function Documentation

◆ color4_base() [1/6]

color4_base< DerivedT >::color4_base ( )
inline

◆ color4_base() [2/6]

color4_base< DerivedT >::color4_base ( const vec3 v3)
inline

◆ color4_base() [3/6]

color4_base< DerivedT >::color4_base ( const vec4 v4)
inline

◆ color4_base() [4/6]

color4_base< DerivedT >::color4_base ( float  nx,
float  ny,
float  nz 
)
inline

◆ color4_base() [5/6]

color4_base< DerivedT >::color4_base ( float  nx,
float  ny,
float  nz,
float  na 
)
inline

◆ color4_base() [6/6]

color4_base< DerivedT >::color4_base ( unsigned  col,
bool  alpha = false 
)
inline

The documentation for this class was generated from the following file: