14 #ifndef PHYSXCLOTHDESC_H 15 #define PHYSXCLOTHDESC_H 34 INLINE
void set_to_default();
35 INLINE
bool is_valid()
const;
39 void set_name(
const char *name);
40 void set_global_pos(
const LPoint3f &pos);
41 void set_global_mat(
const LMatrix4f &mat);
42 void set_global_hpr(
float h,
float p,
float r);
43 void set_thickness(
float thickness);
44 void set_density(
float density);
45 void set_bending_stiffness(
float stiffness);
46 void set_stretching_stiffness(
float stiffness);
47 void set_damping_coefficient(
float damping);
48 void set_friction(
float friction);
49 void set_pressure(
float pressure);
50 void set_tear_factor(
float tearFactor);
51 void set_solver_iterations(
unsigned int interations);
52 void set_flag(PhysxClothFlag flag,
bool value);
54 const char *get_name()
const;
55 LPoint3f get_global_pos()
const;
56 LMatrix4f get_global_mat()
const;
57 float get_thickness()
const;
58 float get_density()
const;
59 float get_bending_stiffness()
const;
60 float get_stretching_stiffness()
const;
61 float get_damping_coefficient()
const;
62 float get_friction()
const;
63 float get_pressure()
const;
64 float get_tear_factor()
const;
65 unsigned int get_solver_iterations()
const;
66 bool get_flag(PhysxClothFlag flag)
const;
77 #endif // PHYSXCLOTHDESC_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Descriptor for PhysxCloth.
This class exists just to provide scoping for the enums shared by PhysX classes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.