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