Panda3D
 All Classes Functions Variables Enumerations
cLwoClip.I
1 // Filename: cLwoClip.I
2 // Created by: drose (27Apr01)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: CLwoClip::get_index
18 // Access: Public
19 // Description: Returns the index number of this clip. Each clip in
20 // a Lightwave object file should have a unique index
21 // number.
22 ////////////////////////////////////////////////////////////////////
23 int CLwoClip::
24 get_index() const {
25  return _clip->_index;
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: CLwoClip::is_still_image
30 // Access: Public
31 // Description: Returns true if this clip represents a still image,
32 // as opposed to an animated image. If this is true,
33 // _filename will contain the image filename.
34 ////////////////////////////////////////////////////////////////////
35 bool CLwoClip::
36 is_still_image() const {
37  return _still_image;
38 }
bool is_still_image() const
Returns true if this clip represents a still image, as opposed to an animated image.
Definition: cLwoClip.I:36
int get_index() const
Returns the index number of this clip.
Definition: cLwoClip.I:24