16 int ShowInterval::_unique_index;
23 ShowInterval(
const NodePath &node,
const std::string &name) :
29 std::ostringstream name_strm;
31 <<
"ShowInterval-" << 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_instant()
This is called in lieu of priv_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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PandaNode * node() const
Returns the referenced node of the path.
virtual void priv_reverse_instant()
This is called in lieu of priv_reverse_initialize() .
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...