Panda3D
sequenceNode.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file sequenceNode.I
10  * @author drose
11  * @date 2002-03-06
12  */
13 
14 /**
15  *
16  */
17 INLINE SequenceNode::
18 SequenceNode(const std::string &name) :
19  SelectiveChildNode(name)
20 {
21  set_cull_callback();
22 }
23 
24 /**
25  * Changes the advertised frame rate of the SequenceNode. This can be used in
26  * conjunction with get_play_rate() to change the effective frame rate of the
27  * node.
28  */
29 INLINE void SequenceNode::
30 set_frame_rate(double frame_rate) {
31  AnimInterface::set_frame_rate(frame_rate);
32 }
A base class for nodes like LODNode and SequenceNode that select only one visible child at a time.
void set_frame_rate(double frame_rate)
Changes the advertised frame rate of the SequenceNode.
Definition: sequenceNode.I:30