FogAttrib
from panda3d.core import FogAttrib
- class FogAttrib
Bases:
RenderAttrib
Applies a Fog to the geometry at and below this node.
Inheritance diagram
- __init__(*args, **kwargs)
- class_slot = 16
- fog
- getClassSlot()
C++ Interface: get_class_slot()
- getClassType()
C++ Interface: get_class_type()
- getFog()
C++ Interface: get_fog(FogAttrib self)
- /**
If the FogAttrib is not an ‘off’ FogAttrib, returns the fog that is
associated. Otherwise, return NULL.
*/
- get_class_slot()
C++ Interface: get_class_slot()
- get_class_type()
C++ Interface: get_class_type()
- get_fog()
C++ Interface: get_fog(FogAttrib self)
- /**
If the FogAttrib is not an ‘off’ FogAttrib, returns the fog that is
associated. Otherwise, return NULL.
*/
- isOff()
C++ Interface: is_off(FogAttrib self)
- /**
Returns true if the FogAttrib is an ‘off’ FogAttrib, indicating that it
should disable fog.
*/
- is_off()
C++ Interface: is_off(FogAttrib self)
- /**
Returns true if the FogAttrib is an ‘off’ FogAttrib, indicating that it
should disable fog.
*/
- make()
C++ Interface: make(Fog fog)
- /**
Constructs a new FogAttrib object suitable for rendering the indicated fog
onto geometry.
*/
- makeDefault()
C++ Interface: make_default()
- /**
Returns a RenderAttrib that corresponds to whatever the standard default
properties for render attributes of this type ought to be.
*/
- makeOff()
C++ Interface: make_off()
- /**
Constructs a new FogAttrib object suitable for rendering unfogd geometry.
*/