Box2D: b2Color Struct Reference

# b2Color Struct Reference

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

`#include <b2WorldCallbacks.h>`

List of all members.

## Public Member Functions

| b2Color ()
| b2Color (float32 r, float32 g, float32 b)
void | Set (float32 ri, float32 gi, float32 bi)

## Public Attributes

float32 | r
float32 | g
float32 | b

## Detailed Description

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

## Constructor & Destructor Documentation

b2Color::b2Color | ( |  | ) | `[inline]`

b2Color::b2Color | ( | float32 | r,
|  | float32 | g,
|  | float32 | b |
| ) |  |  | `[inline]`

## Member Function Documentation

void b2Color::Set | ( | float32 | ri,
|  | float32 | gi,
|  | float32 | bi |
| ) |  |  | `[inline]`

## Member Data Documentation

float32 b2Color::b

float32 b2Color::g

float32 b2Color::r

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

- Box2D/Box2D/Dynamics/b2WorldCallbacks.h