arsa  2.7
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Effekseer::Color Struct Reference

More...

#include <Effekseer.h>

Public Member Functions

 Color ()=default
 コンストラクタ More...
 
 Color (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255)
 コンストラクタ More...
 

Static Public Member Functions

static Color Mul (Color in1, Color in2)
 乗算 More...
 
static Color Mul (Color in1, float in2)
 
static Color Lerp (const Color in1, const Color in2, float t)
 線形補間 More...
 

Public Attributes

uint8_t R
 More...
 
uint8_t G
 More...
 
uint8_t B
 More...
 
uint8_t A
 透明度 More...
 

Detailed Description

Definition at line 1002 of file Effekseer.h.

Constructor & Destructor Documentation

◆ Color() [1/2]

Effekseer::Color::Color ( )
default

コンストラクタ

◆ Color() [2/2]

Effekseer::Color::Color ( uint8_t  r,
uint8_t  g,
uint8_t  b,
uint8_t  a = 255 
)

コンストラクタ

Member Function Documentation

◆ Lerp()

static Color Effekseer::Color::Lerp ( const Color  in1,
const Color  in2,
float  t 
)
static

線形補間

◆ Mul() [1/2]

static Color Effekseer::Color::Mul ( Color  in1,
Color  in2 
)
static

乗算

◆ Mul() [2/2]

static Color Effekseer::Color::Mul ( Color  in1,
float  in2 
)
static

Member Data Documentation

◆ A

uint8_t Effekseer::Color::A

透明度

Definition at line 1022 of file Effekseer.h.

◆ B

uint8_t Effekseer::Color::B

Definition at line 1017 of file Effekseer.h.

◆ G

uint8_t Effekseer::Color::G

Definition at line 1012 of file Effekseer.h.

◆ R

uint8_t Effekseer::Color::R

Definition at line 1007 of file Effekseer.h.


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