14 #ifndef PHYSXMATERIALDESC_H 15 #define PHYSXMATERIALDESC_H 31 INLINE
void set_to_default();
32 INLINE
bool is_valid()
const;
34 void set_dynamic_friction(
float coef);
35 void set_static_friction(
float coef);
36 void set_restitution(
float rest);
37 void set_dynamic_friction_v(
float coef);
38 void set_static_friction_v(
float coef);
39 void set_dir_of_anisotropy(
const LVector3f dir);
40 void set_flag(PhysxMaterialFlag flag,
bool value);
41 void set_friction_combine_mode(PhysxCombineMode mode);
42 void set_restitution_combine_mode(PhysxCombineMode mode);
44 float get_dynamic_friction()
const;
45 float get_static_friction()
const;
46 float get_restitution()
const;
47 float get_dynamic_friction_v()
const;
48 float get_static_friction_v()
const;
49 LVector3f get_dir_of_anisotropy()
const;
50 bool get_flag(PhysxMaterialFlag flag)
const;
51 PhysxCombineMode get_friction_combine_mode()
const;
52 PhysxCombineMode get_restitution_combine_mode()
const;
60 #endif // PHYSXMATERIALDESC_H Descriptor class for materials.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class exists just to provide scoping for the enums shared by PhysX classes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.