Panda3D
panda
src
pgraphnodes
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
}
SelectiveChildNode
A base class for nodes like LODNode and SequenceNode that select only one visible child at a time.
Definition:
selectiveChildNode.h:25
SequenceNode::set_frame_rate
set_frame_rate
Changes the advertised frame rate of the SequenceNode.
Definition:
sequenceNode.h:38
Generated on Tue Aug 31 2021 11:10:20 for Panda3D by
1.9.1