OccluderEffect
from panda3d.core import OccluderEffect
- class OccluderEffect
Bases:
RenderEffect
This functions similarly to a LightAttrib or ClipPlaneAttrib. It indicates the set of occluders that modify the geometry at this level and below. Unlike a ClipPlaneAttrib, an OccluderEffect takes effect immediately when it is encountered during traversal, and thus can only add occluders; it may not remove them.
Inheritance diagram
- __init__(*args, **kwargs)
- addOnOccluder()
C++ Interface: add_on_occluder(OccluderEffect self, const NodePath occluder)
- /**
Returns a new OccluderEffect, just like this one, but with the indicated
occluder added to the list of occluders enabled by this effect.
*/
- add_on_occluder()
C++ Interface: add_on_occluder(OccluderEffect self, const NodePath occluder)
- /**
Returns a new OccluderEffect, just like this one, but with the indicated
occluder added to the list of occluders enabled by this effect.
*/
- getClassType()
C++ Interface: get_class_type()
- getNumOnOccluders()
C++ Interface: get_num_on_occluders(OccluderEffect self)
- /**
Returns the number of occluders that are enabled by the effectute.
*/
- getOnOccluder()
C++ Interface: get_on_occluder(OccluderEffect self, int n)
- /**
Returns the nth occluder enabled by the effectute, sorted in render order.
*/
- getOnOccluders()
- get_class_type()
C++ Interface: get_class_type()
- get_num_on_occluders()
C++ Interface: get_num_on_occluders(OccluderEffect self)
- /**
Returns the number of occluders that are enabled by the effectute.
*/
- get_on_occluder()
C++ Interface: get_on_occluder(OccluderEffect self, int n)
- /**
Returns the nth occluder enabled by the effectute, sorted in render order.
*/
- get_on_occluders()
- hasOnOccluder()
C++ Interface: has_on_occluder(OccluderEffect self, const NodePath occluder)
- /**
Returns true if the indicated occluder is enabled by the effect, false
otherwise.
*/
- has_on_occluder()
C++ Interface: has_on_occluder(OccluderEffect self, const NodePath occluder)
- /**
Returns true if the indicated occluder is enabled by the effect, false
otherwise.
*/
- isIdentity()
C++ Interface: is_identity(OccluderEffect self)
- /**
Returns true if this is an identity effect: it does not change the set of
occluders in use.
*/
- is_identity()
C++ Interface: is_identity(OccluderEffect self)
- /**
Returns true if this is an identity effect: it does not change the set of
occluders in use.
*/