Panda3D
panda
src
physx
physxMaterialDesc.I
1
// Filename: physxMaterialDesc.I
2
// Created by: enn0x (21Sep09)
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: PhysxMaterialDesc::Constructor
19
// Access: Published
20
// Description:
21
////////////////////////////////////////////////////////////////////
22
INLINE PhysxMaterialDesc::
23
PhysxMaterialDesc() {
24
25
}
26
27
////////////////////////////////////////////////////////////////////
28
// Function: PhysxMaterialDesc::Destructor
29
// Access: Published
30
// Description:
31
////////////////////////////////////////////////////////////////////
32
INLINE PhysxMaterialDesc::
33
~PhysxMaterialDesc() {
34
35
}
36
37
////////////////////////////////////////////////////////////////////
38
// Function: PhysxMaterialDesc::set_to_default
39
// Access: Published
40
// Description: (re)sets the structure to the default.
41
////////////////////////////////////////////////////////////////////
42
INLINE
void
PhysxMaterialDesc::
43
set_to_default
() {
44
45
_desc.setToDefault();
46
}
47
48
////////////////////////////////////////////////////////////////////
49
// Function: PhysxMaterialDesc::is_valid
50
// Access: Published
51
// Description: Returns true if the descriptor is valid.
52
////////////////////////////////////////////////////////////////////
53
INLINE
bool
PhysxMaterialDesc::
54
is_valid
()
const
{
55
56
return
_desc.isValid();
57
}
58
PhysxMaterialDesc::is_valid
bool is_valid() const
Returns true if the descriptor is valid.
Definition:
physxMaterialDesc.I:54
PhysxMaterialDesc::set_to_default
void set_to_default()
(re)sets the structure to the default.
Definition:
physxMaterialDesc.I:43
Generated on Wed May 17 2017 23:45:52 for Panda3D by
1.8.13