This functions similarly to a
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.
add_on_occluder(NodePath const &occluder) const¶
Returns a new
OccluderEffect, just like this one, but with the indicated occluder added to the list of occluders enabled by this effect.
Returns the number of occluders that are enabled by the effectute.
get_on_occluder(int n) const¶
Returns the nth occluder enabled by the effectute, sorted in render order.
has_on_occluder(NodePath const &occluder) const¶
Returns true if the indicated occluder is enabled by the effect, false otherwise.
Returns true if this is an identity effect: it does not change the set of occluders in use.
Constructs a new
OccluderEffectobject that does nothing.