DataGraphTraverser

from panda3d.core import DataGraphTraverser
class DataGraphTraverser

Bases: DTOOL_SUPER_BASE

This object supervises the traversal of the data graph and the moving of data from one DataNode to its children. The data graph is used to manage data from input devices, etc. See the overview of the data graph in dataNode.h.

Inheritance diagram

Inheritance diagram of DataGraphTraverser

__init__(*args, **kwargs)
collectLeftovers()

C++ Interface: collect_leftovers(const DataGraphTraverser self)

/**
  • Pick up any nodes that didn’t get completely traversed. These must be

  • nodes that have multiple parents, with at least one parent completely

  • outside of the data graph.

*/

collect_leftovers()

C++ Interface: collect_leftovers(const DataGraphTraverser self)

/**
  • Pick up any nodes that didn’t get completely traversed. These must be

  • nodes that have multiple parents, with at least one parent completely

  • outside of the data graph.

*/

getCurrentThread()

C++ Interface: get_current_thread(DataGraphTraverser self)

/**
  • Returns the currently-executing thread object, as passed to the

  • DataGraphTraverser constructor.

*/

get_current_thread()

C++ Interface: get_current_thread(DataGraphTraverser self)

/**
  • Returns the currently-executing thread object, as passed to the

  • DataGraphTraverser constructor.

*/

traverse()

C++ Interface: traverse(const DataGraphTraverser self, PandaNode node)

/**
  • Starts the traversal of the data graph at the indicated root node.

*/