14 #ifndef SELECTIVECHILDNODE_H 15 #define SELECTIVECHILDNODE_H 38 INLINE
void select_child(
int n);
51 static void init_type() {
52 PandaNode::init_type();
54 PandaNode::get_class_type());
57 return get_class_type();
59 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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,...