Defined in:Returns a boolean value indicating whether a node should be included in a particular copy of an instanced world.
virtual bool KeepNode(const Node *node) const;
||A pointer to the node that should be tested for inclusion.|
KeepNodefunction is called for each modifier attached to an instance node every time a new copy of the instanced world is created. This function is called for every subnode of the original, unaltered copy of the instanced world, and it should return
trueif that subnode should be copied into the new instance or
falseif that subnode and its entire subtree should be skipped so that they don't appear in the new instance.
The default implementation of the
KeepNodefunction always returns
trueso that the entire instanced world is always copied into the new instance.