Panda3D
panda
src
pgraph
compassEffect.I
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file compassEffect.I
10
* @author drose
11
* @date 2002-07-16
12
*/
13
14
/**
15
* Use CompassEffect::make() to construct a new CompassEffect object.
16
*/
17
INLINE CompassEffect::
18
CompassEffect() {
19
_properties = 0;
20
}
21
22
/**
23
* Returns the reference node from which the CompassEffect inherits its
24
* transform. If this is empty, it means the root of the scene graph.
25
*/
26
INLINE
const
NodePath
&
CompassEffect::
27
get_reference
()
const
{
28
return
_reference;
29
}
30
31
/**
32
* Returns the bitmask of properties that this CompassEffect object inherits
33
* from its reference node (or from the root).
34
*/
35
INLINE
int
CompassEffect::
36
get_properties
()
const
{
37
return
_properties;
38
}
NodePath
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition:
nodePath.h:159
CompassEffect::get_reference
const NodePath & get_reference() const
Returns the reference node from which the CompassEffect inherits its transform.
Definition:
compassEffect.I:27
CompassEffect::get_properties
int get_properties() const
Returns the bitmask of properties that this CompassEffect object inherits from its reference node (or...
Definition:
compassEffect.I:36
Generated on Mon Sep 14 2020 15:07:00 for Panda3D by
1.8.20