16 int HideInterval::_unique_index;
23 HideInterval(
const NodePath &node,
const std::string &name) :
29 std::ostringstream name_strm;
31 <<
"HideInterval-" << node.
node()->get_name() <<
"-" << ++_unique_index;
32 _name = name_strm.str();
43 check_stopped(get_class_type(),
"priv_instant");
56 check_stopped(get_class_type(),
"priv_reverse_instant");
bool is_empty() const
Returns true if the NodePath contains no nodes.
virtual void priv_reverse_instant()
This is called in lieu of priv_reverse_initialize() .
The base class for timeline components.
void show()
Undoes the effect of a previous hide() on this node: makes the referenced node (and the entire subgra...
virtual void priv_instant()
This is called in lieu of priv_initialize() .
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PandaNode * node() const
Returns the referenced node of the path.
TypeHandle is the identifier used to differentiate C++ class types.
void hide()
Makes the referenced node (and the entire subgraph below this node) invisible to all cameras.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...