Applies a Fog to the geometry at and below this node. More...
Public Member Functions | |
Fog | getFog () |
If the FogAttrib is not an 'off' FogAttrib, returns the fog that is associated. | |
bool | isOff () |
Returns true if the FogAttrib is an 'off' FogAttrib, indicating that it should disable fog. | |
Static Public Member Functions | |
static int | getClassSlot () |
static TypeHandle | getClassType () |
static RenderAttrib const | make (Fog fog) |
Constructs a new FogAttrib object suitable for rendering the indicated fog onto geometry. | |
static RenderAttrib const | makeDefault () |
Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be. | |
static RenderAttrib const | makeOff () |
Constructs a new FogAttrib object suitable for rendering unfogd geometry. |
Applies a Fog to the geometry at and below this node.
static int getClassSlot | ( | ) | [static] |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from RenderAttrib.
bool isOff | ( | ) |
static RenderAttrib const make | ( | Fog | fog | ) | [static] |
Constructs a new FogAttrib object suitable for rendering the indicated fog onto geometry.
static RenderAttrib const makeDefault | ( | ) | [static] |
Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be.
static RenderAttrib const makeOff | ( | ) | [static] |
Constructs a new FogAttrib object suitable for rendering unfogd geometry.