Panda3D
Loading...
Searching...
No Matches
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 */
17INLINE SequenceNode::
18SequenceNode(const std::string &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 */
29INLINE void SequenceNode::
30set_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.
set_frame_rate
Changes the advertised frame rate of the SequenceNode.