Box2D: b2Color Struct Reference

| Box2D 2.4.0 A 2D physics engine for games

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 <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:

- /build/box2d/src/box2d-adaedf1772ede7420bc9ee569c8cba7952db91a0/include/box2d/b2_draw.h