FogAttrib
-
class FogAttrib
Bases:
RenderAttribApplies a Fog to the geometry at and below this node.
Inheritance diagram
-
static int get_class_slot(void)
-
static TypeHandle get_class_type(void)
-
Fog *get_fog(void) const
If the
FogAttribis not an ‘off’FogAttrib, returns the fog that is associated. Otherwise, return NULL.
-
bool is_off(void) const
Returns true if the
FogAttribis an ‘off’FogAttrib, indicating that it should disable fog.
-
static ConstPointerTo<RenderAttrib> make(Fog *fog)
Constructs a new
FogAttribobject suitable for rendering the indicated fog onto geometry.
-
static ConstPointerTo<RenderAttrib> make_default(void)
Returns a
RenderAttribthat corresponds to whatever the standard default properties for render attributes of this type ought to be.
-
static ConstPointerTo<RenderAttrib> make_off(void)
Constructs a new
FogAttribobject suitable for rendering unfogd geometry.
-
static int get_class_slot(void)
