Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

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)
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 | ( |  | ) |
| inline

b2Color | ( | float32 | r,
|  | float32 | g,
|  | float32 | b
| ) |  |
| inline

## Member Function Documentation

void Set | ( | float32 | ri,
|  | float32 | gi,
|  | float32 | bi
| ) |  |
| inline

## Member Data Documentation

float32 b

float32 g

float32 r

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

- Box2D/Common/b2Draw.h