Panda3D
Public Member Functions | List of all members
PandaNode::Stashed Class Reference

Public Member Functions

 Stashed (const CData *cdata)
 
 Stashed (const Stashed &copy)
 
int get_num_stashed () const
 Returns the number of stashed children of the node. More...
 
PandaNodeget_stashed (int n) const
 Returns the nth stashed child of the node. More...
 
int get_stashed_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...
 
void operator= (const Stashed &copy)
 

Detailed Description

Definition at line 712 of file pandaNode.h.

Member Function Documentation

◆ get_num_stashed()

int PandaNode::Stashed::get_num_stashed ( ) const
inline

Returns the number of stashed children of the node.

Definition at line 1264 of file pandaNode.I.

References get_stashed().

Referenced by PandaNode::copy_children(), PandaNode::Children::get_child_sort(), PandaNode::is_ambient_light(), and PandaNode::r_prepare_scene().

◆ get_stashed()

PandaNode * PandaNode::Stashed::get_stashed ( int  n) const
inline

Returns the nth stashed child of the node.

Definition at line 1275 of file pandaNode.I.

References get_stashed_sort().

Referenced by PandaNode::copy_children(), get_num_stashed(), PandaNode::is_ambient_light(), and PandaNode::r_prepare_scene().

◆ get_stashed_sort()

int PandaNode::Stashed::get_stashed_sort ( int  n) const
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_stashed().

Definition at line 1289 of file pandaNode.I.

References PandaNode::Parents::get_num_parents().

Referenced by PandaNode::copy_children(), and get_stashed().


The documentation for this class was generated from the following files: