Public Member Functions | Public Attributes | List of all members
b2Color Struct Reference

Color for debug drawing. Each value has the range [0,1]. More...

#include <b2Draw.h>

Public Member Functions

 b2Color ()
 
 b2Color (float32 r, float32 g, float32 b, float32 a=1.0f)
 
void Set (float32 ri, float32 gi, float32 bi, float32 ai=1.0f)
 

Public Attributes

float32 a
 
float32 b
 
float32 g
 
float32 r
 

Detailed Description

Color for debug drawing. Each value has the range [0,1].

Definition at line 25 of file b2Draw.h.

Constructor & Destructor Documentation

b2Color::b2Color ( )
inline

Definition at line 27 of file b2Draw.h.

b2Color::b2Color ( float32  r,
float32  g,
float32  b,
float32  a = 1.0f 
)
inline

Definition at line 28 of file b2Draw.h.

Member Function Documentation

void b2Color::Set ( float32  ri,
float32  gi,
float32  bi,
float32  ai = 1.0f 
)
inline

Definition at line 29 of file b2Draw.h.

Member Data Documentation

float32 b2Color::a

Definition at line 30 of file b2Draw.h.

float32 b2Color::b

Definition at line 30 of file b2Draw.h.

float32 b2Color::g

Definition at line 30 of file b2Draw.h.

float32 b2Color::r

Definition at line 30 of file b2Draw.h.


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


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52