Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
physx
physxForceFieldDesc.I
1
// Filename: physxForceFieldDesc.I
2
// Created by: enn0x (06Nov09)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
16
17
////////////////////////////////////////////////////////////////////
18
// Function: PhysxForceFieldDesc::Constructor
19
// Access: Published
20
// Description:
21
////////////////////////////////////////////////////////////////////
22
INLINE PhysxForceFieldDesc::
23
PhysxForceFieldDesc() {
24
25
}
26
27
////////////////////////////////////////////////////////////////////
28
// Function: PhysxForceFieldDesc::Destructor
29
// Access: Published
30
// Description:
31
////////////////////////////////////////////////////////////////////
32
INLINE PhysxForceFieldDesc::
33
~PhysxForceFieldDesc() {
34
35
}
36
37
////////////////////////////////////////////////////////////////////
38
// Function: PhysxForceFieldDesc::set_to_default
39
// Access: Published
40
// Description: (re)sets the structure to the default.
41
////////////////////////////////////////////////////////////////////
42
INLINE
void
PhysxForceFieldDesc::
43
set_to_default
() {
44
45
_desc.setToDefault();
46
set_name(
""
);
47
}
48
49
////////////////////////////////////////////////////////////////////
50
// Function: PhysxForceFieldDesc::is_valid
51
// Access: Published
52
// Description: Returns true if the descriptor is valid.
53
////////////////////////////////////////////////////////////////////
54
INLINE
bool
PhysxForceFieldDesc::
55
is_valid
()
const
{
56
57
return
_desc.isValid();
58
}
59
PhysxForceFieldDesc::is_valid
bool is_valid() const
Returns true if the descriptor is valid.
Definition:
physxForceFieldDesc.I:55
PhysxForceFieldDesc::set_to_default
void set_to_default()
(re)sets the structure to the default.
Definition:
physxForceFieldDesc.I:43
Generated on Mon Feb 1 2016 13:44:36 for Panda3D by
1.8.5