18TypeHandle CConstrainTransformInterval::_type_handle;
33 CConstraintInterval(name, duration),
47 check_started(get_class_type(),
"priv_step");
51 if(! _target.is_empty()) {
54 if(! _node.is_same_graph(_target)){
55 interval_cat.warning()
56 <<
"Unable to copy transform in CConstrainTransformInterval::priv_step;\n"
57 <<
"node (" << _node.get_name()
58 <<
") and target (" << _target.get_name()
59 <<
") are not in the same graph.\n";
62 transform = _node.get_transform(_target.get_parent());
64 transform = _node.get_transform();
67 _target.set_transform(transform);
74void CConstrainTransformInterval::
75output(std::ostream &out)
const {
get_name
Returns the interval's name.
get_duration
Returns the duration of the interval in seconds.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.