|
|
@@ -118,6 +118,21 @@ cull_callback(CullTraverser *, CullTraverserData &) {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: SequenceNode::get_first_visible_child
|
|
|
+// Access: Public, Virtual
|
|
|
+// Description: Returns the index number of the first visible child
|
|
|
+// of this node, or a number >= get_num_children() if
|
|
|
+// there are no visible children of this node. This is
|
|
|
+// called during the cull traversal, but only if
|
|
|
+// has_selective_visibility() has already returned true.
|
|
|
+// See has_selective_visibility().
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+int SequenceNode::
|
|
|
+get_first_visible_child() const {
|
|
|
+ return get_frame();
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: SequenceNode::has_single_child_visibility
|
|
|
// Access: Public, Virtual
|
|
|
@@ -139,6 +154,18 @@ has_single_child_visibility() const {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: SequenceNode::get_visible_child
|
|
|
+// Access: Public, Virtual
|
|
|
+// Description: Returns the index number of the currently visible
|
|
|
+// child of this node. This is only meaningful if
|
|
|
+// has_single_child_visibility() has returned true.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+int SequenceNode::
|
|
|
+get_visible_child() const {
|
|
|
+ return get_frame();
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: SequenceNode::output
|
|
|
// Access: Published, Virtual
|