Panda3D
cLwoLayer.I
1 // Filename: cLwoLayer.I
2 // Created by: drose (25Apr01)
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: CLwoLayer::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE CLwoLayer::
22 CLwoLayer(LwoToEggConverter *converter, const LwoLayer *layer) :
23  _converter(converter),
24  _layer(layer)
25 {
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: CLwoLayer::get_number
30 // Access: Public
31 // Description: Returns the index number associated with this
32 // particular layer. This should be unique among all
33 // Lightwave layers in a single file.
34 ////////////////////////////////////////////////////////////////////
35 INLINE int CLwoLayer::
36 get_number() const {
37  return _layer->_number;
38 }
int get_number() const
Returns the index number associated with this particular layer.
Definition: cLwoLayer.I:36
Signals the start of a new layer.
Definition: lwoLayer.h:32
This class supervises the construction of an EggData structure from the data represented by the LwoHe...