Panda3D
|
Public Member Functions | |
PhysxClothMesh * | cook_cloth_mesh (const PhysxClothMeshDesc &meshDesc) |
bool | cook_cloth_mesh (const PhysxClothMeshDesc &meshDesc, const Filename &filename) |
PhysxConvexMesh * | cook_convex_mesh (const PhysxConvexMeshDesc &meshDesc) |
bool | cook_convex_mesh (const PhysxConvexMeshDesc &meshDesc, const Filename &filename) |
PhysxSoftBodyMesh * | cook_soft_body_mesh (const PhysxSoftBodyMeshDesc &meshDesc) |
bool | cook_soft_body_mesh (const PhysxSoftBodyMeshDesc &meshDesc, const Filename &filename) |
bool | cook_texcoords (const PhysxClothMeshDesc &meshDesc, const Filename &filename) |
PhysxTriangleMesh * | cook_triangle_mesh (const PhysxTriangleMeshDesc &meshDesc) |
bool | cook_triangle_mesh (const PhysxTriangleMeshDesc &meshDesc, const Filename &filename) |
void | set_cooking_params (float skinWidth, bool hintCollisionSpeed) |
Sets two parameters which affect mesh cooking: | |
Definition at line 34 of file physxKitchen.h.
|
inline |
Definition at line 17 of file physxKitchen.I.
|
inline |
Definition at line 29 of file physxKitchen.I.
PhysxClothMesh * PhysxKitchen::cook_cloth_mesh | ( | const PhysxClothMeshDesc & | meshDesc | ) |
Definition at line 203 of file physxKitchen.cxx.
bool PhysxKitchen::cook_cloth_mesh | ( | const PhysxClothMeshDesc & | meshDesc, |
const Filename & | filename ) |
Definition at line 82 of file physxKitchen.cxx.
PhysxConvexMesh * PhysxKitchen::cook_convex_mesh | ( | const PhysxConvexMeshDesc & | meshDesc | ) |
Definition at line 151 of file physxKitchen.cxx.
bool PhysxKitchen::cook_convex_mesh | ( | const PhysxConvexMeshDesc & | meshDesc, |
const Filename & | filename ) |
Definition at line 54 of file physxKitchen.cxx.
PhysxSoftBodyMesh * PhysxKitchen::cook_soft_body_mesh | ( | const PhysxSoftBodyMeshDesc & | meshDesc | ) |
Definition at line 230 of file physxKitchen.cxx.
bool PhysxKitchen::cook_soft_body_mesh | ( | const PhysxSoftBodyMeshDesc & | meshDesc, |
const Filename & | filename ) |
Definition at line 96 of file physxKitchen.cxx.
bool PhysxKitchen::cook_texcoords | ( | const PhysxClothMeshDesc & | meshDesc, |
const Filename & | filename ) |
Definition at line 110 of file physxKitchen.cxx.
PhysxTriangleMesh * PhysxKitchen::cook_triangle_mesh | ( | const PhysxTriangleMeshDesc & | meshDesc | ) |
Definition at line 177 of file physxKitchen.cxx.
bool PhysxKitchen::cook_triangle_mesh | ( | const PhysxTriangleMeshDesc & | meshDesc, |
const Filename & | filename ) |
Definition at line 68 of file physxKitchen.cxx.
void PhysxKitchen::set_cooking_params | ( | float | skinWidth, |
bool | hintCollisionSpeed ) |
Sets two parameters which affect mesh cooking:
Skin width for convex meshes: Specifies the amount to inflate the convex mesh by when the new convex hull generator is used. Inflating the mesh allows the user to hide interpenetration errors by increasing the size of the collision mesh with respect to the size of the rendered geometry. Default value: 0.025f
Hint to choose speed or less memory for collision structures. Default value: false
Definition at line 39 of file physxKitchen.cxx.