Panda3D
Loading...
Searching...
No Matches
bulletDebugNode.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 bulletDebugNode.I
10 * @author enn0x
11 * @date 2010-01-23
12 */
13
14/**
15 *
16 */
17INLINE BulletDebugNode::
18~BulletDebugNode() {
19
20}
21
22/**
23 * If true, displays collision shapes in wireframe mode.
24 */
25INLINE void BulletDebugNode::
26show_wireframe(bool show) {
27
28 _wireframe = show;
30}
31
32/**
33 *
34 */
35INLINE bool BulletDebugNode::
36get_show_wireframe() const {
37
38 return _wireframe;
39}
40
41/**
42 * If true, display limits defined for constraints, e.g. a pivot axis or maximum
43 * amplitude.
44 */
45INLINE void BulletDebugNode::
46show_constraints(bool show) {
47
48 _constraints = show;
50}
51
52/**
53 *
54 */
55INLINE bool BulletDebugNode::
56get_show_constraints() const {
57
58 return _constraints;
59}
60
61/**
62 * If true, displays axis aligned bounding boxes for objects.
63 */
64INLINE void BulletDebugNode::
65show_bounding_boxes(bool show) {
66
67 _bounds = show;
69}
70
71/**
72 *
73 */
74INLINE bool BulletDebugNode::
75get_show_bounding_boxes() const {
76
77 return _bounds;
78}
79
80/**
81 * If true, displays normal vectors for triangle mesh and heightfield faces.
82 */
83INLINE void BulletDebugNode::
84show_normals(bool show) {
85
86 _drawer._normals = show;
87}
88
89/**
90 *
91 */
92INLINE bool BulletDebugNode::
93get_show_normals() const {
94
95 return _drawer._normals;
96}
virtual void draw_mask_changed()
Called after the node's DrawMask has been changed for any reason, this just provides a hook so derive...
show_bounding_boxes
If true, displays axis aligned bounding boxes for objects.
show_constraints
If true, display limits defined for constraints, e.g.
show_normals
If true, displays normal vectors for triangle mesh and heightfield faces.
show_wireframe
If true, displays collision shapes in wireframe mode.