#include <ddgfog.h>
Class diagram for ddgFog:
Public Members | |||
![]() | ![]() | enum | Type { NONE, LINEAR, EXPONENTIAL, EXPONENTIAL2 } |
![]() | ![]() | Fog mode. | |
![]() | ![]() | ddgFog ( Type m, float d = 0.3, const ddgColor3 *c = NULL, const ddgVector2 *v = NULL) | |
![]() | ![]() | Default constructor. | |
![]() | ![]() | bool | draw ( ddgContext *ctx ) |
![]() | ![]() | Render all the members of the group. | |
![]() | ![]() | bool | init ( ddgContext *ctx ) |
![]() | ![]() | Initialize the graphics. | |
![]() | ![]() | Type | type (void) |
![]() | ![]() | Return the current type. | |
![]() | ![]() | void | setType ( Type t ) |
![]() | ![]() | Set the fog type. | |
![]() | ![]() | void | setDensity ( float d) |
![]() | ![]() | Set the fog density. | |
![]() | ![]() | void | setColor ( ddgColor3 *c = NULL) |
![]() | ![]() | Set the fog color. |
All objects which are added to it will be rendered with fog.