Box2D  2.4.1
A 2D physics engine for games
b2Color Struct Reference

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

#include <b2_draw.h>

Public Member Functions

 b2Color (float rIn, float gIn, float bIn, float aIn=1.0f)
 
void Set (float rIn, float gIn, float bIn, float aIn=1.0f)
 

Public Attributes

float r
 
float g
 
float b
 
float a
 

Detailed Description

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


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