FogAttrib¶
from panda3d.core import FogAttrib
-
class
FogAttrib
¶ 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
getClassType
() → TypeHandle¶
-
getFog
() → Fog¶ If the
FogAttrib
is not an ‘off’FogAttrib
, returns the fog that is associated. Otherwise, return NULL.
-
isOff
() → 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
makeDefault
() → RenderAttrib¶ Returns a
RenderAttrib
that corresponds to whatever the standard default properties for render attributes of this type ought to be.
-
static
makeOff
() → RenderAttrib¶ Constructs a new
FogAttrib
object suitable for rendering unfogd geometry.
-
property