Box2D: b2Color Struct Reference

| Box2D 2.4.1 A 2D physics engine for games

Loading...
Searching...
No Matches
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-2.4.2/include/box2d/b2_draw.h