FogAttrib
from panda3d.core import FogAttrib
- class FogAttrib
Bases:
Bases:
RenderAttrib
Applies a Fog to the geometry at and below this node.
Inheritance diagram
- property fog Fog
If the
FogAttrib
is not an ‘off’FogAttrib
, returns the fog that is associated. Otherwise, return NULL.
- static get_class_type() TypeHandle
- get_fog() Fog
If the
FogAttrib
is not an ‘off’FogAttrib
, returns the fog that is associated. Otherwise, return NULL.
- is_off() bool
Returns true if the
FogAttrib
is an ‘off’FogAttrib
, indicating that it should disable fog.
- static make(fog: Fog) RenderAttrib
Constructs a new
FogAttrib
object suitable for rendering the indicated fog onto geometry.
- static make_default() RenderAttrib
Returns a
RenderAttrib
that corresponds to whatever the standard default properties for render attributes of this type ought to be.
- static make_off() RenderAttrib
Constructs a new
FogAttrib
object suitable for rendering unfogd geometry.