Rise
The Vieneo Province
Loading...
Searching...
No Matches
RiseMath::Color Struct Reference

#include <ClientMath.h>

Public Member Functions

 Color ()=default
 Color (float red, float green, float blue, float alpha)
 Color (uint32_t argb)
 Color (const float *p)
 operator uint32_t () const

Public Attributes

float r =0
float g =0
float b =0
float a =0

Detailed Description

Definition at line 66 of file ClientMath.h.

Constructor & Destructor Documentation

◆ Color() [1/4]

RiseMath::Color::Color ( )
default

◆ Color() [2/4]

RiseMath::Color::Color ( float red,
float green,
float blue,
float alpha )
inline

Definition at line 69 of file ClientMath.h.

◆ Color() [3/4]

RiseMath::Color::Color ( uint32_t argb)
inline

Definition at line 70 of file ClientMath.h.

◆ Color() [4/4]

RiseMath::Color::Color ( const float * p)
inlineexplicit

Definition at line 71 of file ClientMath.h.

Member Function Documentation

◆ operator uint32_t()

RiseMath::Color::operator uint32_t ( ) const
inline

Definition at line 72 of file ClientMath.h.

Member Data Documentation

◆ a

float RiseMath::Color::a =0

Definition at line 68 of file ClientMath.h.

◆ b

float RiseMath::Color::b =0

Definition at line 68 of file ClientMath.h.

◆ g

float RiseMath::Color::g =0

Definition at line 68 of file ClientMath.h.

◆ r

float RiseMath::Color::r =0

Definition at line 68 of file ClientMath.h.


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