Panda3D
 All Classes Functions Variables Enumerations
sequenceNode.I
00001 // Filename: sequenceNode.I
00002 // Created by:  drose (06Mar02)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: SequenceNode::Constructor
00018 //       Access: Published
00019 //  Description:
00020 ////////////////////////////////////////////////////////////////////
00021 INLINE SequenceNode::
00022 SequenceNode(const string &name) :
00023   SelectiveChildNode(name)
00024 {
00025   set_cull_callback();
00026 }
00027 
00028 ////////////////////////////////////////////////////////////////////
00029 //     Function: SequenceNode::set_frame_rate
00030 //       Access: Published
00031 //  Description: Changes the advertised frame rate of the
00032 //               SequenceNode.  This can be used in conjunction with
00033 //               get_play_rate() to change the effective frame rate of
00034 //               the node.
00035 ////////////////////////////////////////////////////////////////////
00036 INLINE void SequenceNode::
00037 set_frame_rate(double frame_rate) {
00038   AnimInterface::set_frame_rate(frame_rate);
00039 }
 All Classes Functions Variables Enumerations