15 #ifndef SELECTIVECHILDNODE_H 16 #define SELECTIVECHILDNODE_H 18 #include "pandabase.h" 20 #include "pandaNode.h" 32 INLINE SelectiveChildNode(
const SelectiveChildNode ©);
40 INLINE
void select_child(
int n);
53 static void init_type() {
54 PandaNode::init_type();
55 register_type(_type_handle,
"SelectiveChildNode",
56 PandaNode::get_class_type());
59 return get_class_type();
61 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
67 #include "selectiveChildNode.I" virtual int get_first_visible_child() const
Returns the index number of the first visible child of this node, or a number >= get_num_children() i...
A basic node of the scene graph or data graph.
virtual bool has_selective_visibility() const
Should be overridden by derived classes to return true if this kind of node has some restrictions on ...
A base class for nodes like LODNode and SequenceNode that select only one visible child at a time...
TypeHandle is the identifier used to differentiate C++ class types.
virtual int get_next_visible_child(int n) const
Returns the index number of the next visible child of this node following the indicated child...