Panda3D
|
Public Member Functions | |
Children (const CData *cdata) | |
Children (const Children ©) | |
PandaNode * | get_child (int n) const |
Returns the nth child of the node. More... | |
int | get_child_sort (int n) const |
Returns the sort index of the nth child node of this node (that is, the number that was passed to add_child()). More... | |
int | get_num_children () const |
Returns the number of children of the node. More... | |
void | operator= (const Children ©) |
Definition at line 691 of file pandaNode.h.
|
inline |
Returns the nth child of the node.
Definition at line 1174 of file pandaNode.I.
References get_child_sort().
Referenced by SceneGraphReducer::check_live_flatten(), CollisionTraverser::clear_colliders(), RigidBodyCombiner::collect(), PandaNode::combine_with(), FindApproxLevelEntry::consider_node(), PandaNode::copy_children(), RigidBodyCombiner::cull_callback(), AnimBundleNode::find_anim_bundle(), SceneGraphReducer::flatten(), NodePath::get_children(), get_num_children(), PandaNode::is_ambient_light(), PandaNode::make_copy(), TextNode::r_prepare_scene(), PandaNode::r_prepare_scene(), MultitexReducer::scan(), StaticTextFont::StaticTextFont(), DataGraphTraverser::traverse_below(), CullTraverser::traverse_below(), and SpeedTreeNode::write_error().
|
inline |
Returns the sort index of the nth child node of this node (that is, the number that was passed to add_child()).
See get_num_children().
Definition at line 1188 of file pandaNode.I.
References PandaNode::Stashed::get_num_stashed().
Referenced by PandaNode::copy_children(), and get_child().
|
inline |
Returns the number of children of the node.
Definition at line 1163 of file pandaNode.I.
References get_child().
Referenced by SceneGraphReducer::check_live_flatten(), CollisionTraverser::clear_colliders(), RigidBodyCombiner::collect(), PandaNode::combine_with(), FindApproxLevelEntry::consider_node(), PandaNode::copy_children(), RigidBodyCombiner::cull_callback(), AnimBundleNode::find_anim_bundle(), SceneGraphReducer::flatten(), NodePath::get_children(), PandaNode::is_ambient_light(), PandaNode::make_copy(), TextNode::r_prepare_scene(), PandaNode::r_prepare_scene(), MultitexReducer::scan(), PandaNode::DownConnection::set_child(), StaticTextFont::StaticTextFont(), DataGraphTraverser::traverse_below(), CullTraverser::traverse_below(), and SpeedTreeNode::write_error().