15 #ifndef PHYSXCLOTHDESC_H
16 #define PHYSXCLOTHDESC_H
18 #include "pandabase.h"
21 #include "physxEnums.h"
22 #include "physx_includes.h"
34 INLINE ~PhysxClothDesc();
36 INLINE
void set_to_default();
37 INLINE
bool is_valid()
const;
41 void set_name(
const char *name);
42 void set_global_pos(
const LPoint3f &pos);
43 void set_global_mat(
const LMatrix4f &mat);
44 void set_global_hpr(
float h,
float p,
float r);
45 void set_thickness(
float thickness);
46 void set_density(
float density);
47 void set_bending_stiffness(
float stiffness);
48 void set_stretching_stiffness(
float stiffness);
49 void set_damping_coefficient(
float damping);
50 void set_friction(
float friction);
51 void set_pressure(
float pressure);
52 void set_tear_factor(
float tearFactor);
53 void set_solver_iterations(
unsigned int interations);
54 void set_flag(PhysxClothFlag flag,
bool value);
56 const char *get_name()
const;
59 float get_thickness()
const;
60 float get_density()
const;
61 float get_bending_stiffness()
const;
62 float get_stretching_stiffness()
const;
63 float get_damping_coefficient()
const;
64 float get_friction()
const;
65 float get_pressure()
const;
66 float get_tear_factor()
const;
67 unsigned int get_solver_iterations()
const;
68 bool get_flag(PhysxClothFlag flag)
const;
77 #include "physxClothDesc.I"
79 #endif // PHYSXCLOTHDESC_H
Descriptor for PhysxCloth.
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
This class exists just to provide scoping for the enums shared by PhysX classes.
This is a 4-by-4 transform matrix.