17INLINE OccluderEffect::
26INLINE OccluderEffect::
28 _on_occluders(copy._on_occluders)
37 return _on_occluders.size();
45 nassertr(n >= 0 && n < (
int)_on_occluders.size(),
NodePath::fail());
46 return _on_occluders[n];
55 return _on_occluders.find(occluder) != _on_occluders.end();
64 return _on_occluders.empty();
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
static NodePath fail()
Creates a NodePath with the ET_fail error type set.
This functions similarly to a LightAttrib or ClipPlaneAttrib.
bool is_identity() const
Returns true if this is an identity effect: it does not change the set of occluders in use.
get_num_on_occluders
Returns the number of occluders that are enabled by the effectute.
bool has_on_occluder(const NodePath &occluder) const
Returns true if the indicated occluder is enabled by the effect, false otherwise.
get_on_occluder
Returns the nth occluder enabled by the effectute, sorted in render order.