Panda3D

cLwoClip.I

00001 // Filename: cLwoClip.I
00002 // Created by:  drose (27Apr01)
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: CLwoClip::get_index
00018 //       Access: Public
00019 //  Description: Returns the index number of this clip.  Each clip in
00020 //               a Lightwave object file should have a unique index
00021 //               number.
00022 ////////////////////////////////////////////////////////////////////
00023 int CLwoClip::
00024 get_index() const {
00025   return _clip->_index;
00026 }
00027 
00028 ////////////////////////////////////////////////////////////////////
00029 //     Function: CLwoClip::is_still_image
00030 //       Access: Public
00031 //  Description: Returns true if this clip represents a still image,
00032 //               as opposed to an animated image.  If this is true,
00033 //               _filename will contain the image filename.
00034 ////////////////////////////////////////////////////////////////////
00035 bool CLwoClip::
00036 is_still_image() const {
00037   return _still_image;
00038 }
 All Classes Functions Variables Enumerations