panda3d.core.DataNode

class DataNode

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) → None
writeInputs(out: ostream) → None

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

writeOutputs(out: ostream) → None

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

writeConnections(out: ostream) → None

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

static getClassType() → TypeHandle
Return type

TypeHandle