Go to the documentation of this file.
26 Transform2SG(
const std::string &name) :
29 _transform_input = define_input(
"transform", TransformState::get_class_type());
65 if (input.
has_data(_transform_input)) {
68 if (_node !=
nullptr) {
69 _node->set_transform(transform, current_thread);
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...
bool has_data(int index) const
Returns true if the indicated parameter has been stored, false otherwise.
TypedWritableReferenceCount * get_ptr() const
Retrieves a pointer to the actual value stored in the parameter.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Thread * get_current_thread() const
Returns the currently-executing thread object, as passed to the DataGraphTraverser constructor.
The fundamental type of node for the data graph.
Encapsulates the data generated from (or sent into) any particular DataNode.
const EventParameter & get_data(int index) const
Extracts the data for the indicated index, if it has been stored, or the empty parameter if it has no...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
A thread; that is, a lightweight process.