Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/pgraph/compassEffect.I

Go to the documentation of this file.
00001 // Filename: compassEffect.I
00002 // Created by:  drose (16Jul02)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: CompassEffect::Constructor
00022 //       Access: Private
00023 //  Description: Use CompassEffect::make() to construct a new
00024 //               CompassEffect object.
00025 ////////////////////////////////////////////////////////////////////
00026 INLINE CompassEffect::
00027 CompassEffect() {
00028   _properties = 0;
00029 }
00030 
00031 ////////////////////////////////////////////////////////////////////
00032 //     Function: CompassEffect::get_reference
00033 //       Access: Published
00034 //  Description: Returns the reference node from which the
00035 //               CompassEffect inherits its transform.  If this is
00036 //               empty, it means the root of the scene graph.
00037 ////////////////////////////////////////////////////////////////////
00038 INLINE const NodePath &CompassEffect::
00039 get_reference() const {
00040   return _reference;
00041 }
00042 
00043 ////////////////////////////////////////////////////////////////////
00044 //     Function: CompassEffect::get_properties
00045 //       Access: Published
00046 //  Description: 
00047 
00048 //               Returns the bitmask of properties that this
00049 //               CompassEffect object inherits from its reference node
00050 //               (or from the root).
00051 ////////////////////////////////////////////////////////////////////
00052 INLINE int CompassEffect::
00053 get_properties() const {
00054   return _properties;
00055 }

Generated on Fri May 2 00:41:15 2003 for Panda by doxygen1.3