DataNode

from panda3d.core import DataNode
class DataNode

Bases:

Bases: PandaNode

The fundamental type of node for the data graph. The DataNode class is itself primarily intended as an abstract class; it defines no inputs and no outputs. Most kinds of data nodes will derive from this to specify the inputs and outputs in the constructor.

DataNode does not attempt to cycle its data with a PipelineCycler. The data graph is intended to be used only within a single thread.

Inheritance diagram

Inheritance diagram of DataNode

__init__(name: str)
static get_class_type() TypeHandle
write_connections(out: ostream)

Writes to the indicated ostream a list of all the connections currently showing between this DataNode and its parent(s).

write_inputs(out: ostream)

Writes to the indicated ostream a list of all the inputs this DataNode might expect to receive.

write_outputs(out: ostream)

Writes to the indicated ostream a list of all the outputs this DataNode might generate.