Panda3D
baseForce.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 baseForce.I
10  * @author charles
11  * @date 2000-08-08
12  */
13 
14 /**
15 
16  */
17 INLINE ForceNode *BaseForce::
18 get_force_node() const {
19  return _force_node;
20 }
21 
22 /**
23 
24  */
25 INLINE NodePath BaseForce::
26 get_force_node_path() const {
27  return _force_node_path;
28 }
29 
30 /**
31 
32  */
33 INLINE void BaseForce::
34 set_active(bool active) {
35  _active = active;
36 }
37 
38 /**
39 
40  */
41 INLINE bool BaseForce::
42 get_active() const {
43  return _active;
44 }
A force that lives in the scene graph and is therefore subject to local coordinate systems.
Definition: forceNode.h:27
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition: nodePath.h:161