Panda3D
panda
src
collide
collisionHandler.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 collisionHandler.I
10
* @author WDIG
11
* @date 2007-08-15
12
*/
13
14
/**
15
* Returns true if handler wants to know about all solids that are within the
16
* collider's bounding volume
17
*/
18
INLINE
bool
CollisionHandler::
19
wants_all_potential_collidees
()
const
{
20
return
_wants_all_potential_collidees;
21
}
22
23
/**
24
* Sets the root of the collision traversal. Only set if
25
* wants_all_potential_collidees is true
26
*/
27
INLINE
void
CollisionHandler::
28
set_root
(
const
NodePath
&root) {
29
_root = &root;
30
}
CollisionHandler::set_root
void set_root(const NodePath &root)
Sets the root of the collision traversal.
Definition:
collisionHandler.I:28
NodePath
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition:
nodePath.h:159
CollisionHandler::wants_all_potential_collidees
bool wants_all_potential_collidees() const
Returns true if handler wants to know about all solids that are within the collider's bounding volume...
Definition:
collisionHandler.I:19
Generated on Sat Jan 11 2020 15:14:45 for Panda3D by
1.8.17