Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PhysxKitchen Class Reference

Public Member Functions

PhysxClothMeshcook_cloth_mesh (const PhysxClothMeshDesc &meshDesc)
 
bool cook_cloth_mesh (const PhysxClothMeshDesc &meshDesc, const Filename &filename)
 
PhysxConvexMeshcook_convex_mesh (const PhysxConvexMeshDesc &meshDesc)
 
bool cook_convex_mesh (const PhysxConvexMeshDesc &meshDesc, const Filename &filename)
 
PhysxSoftBodyMeshcook_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)
 
PhysxTriangleMeshcook_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:
 

Detailed Description

Definition at line 34 of file physxKitchen.h.

Constructor & Destructor Documentation

◆ PhysxKitchen()

PhysxKitchen::PhysxKitchen ( )
inline

Definition at line 17 of file physxKitchen.I.

◆ ~PhysxKitchen()

PhysxKitchen::~PhysxKitchen ( )
inline

Definition at line 29 of file physxKitchen.I.

Member Function Documentation

◆ cook_cloth_mesh() [1/2]

PhysxClothMesh * PhysxKitchen::cook_cloth_mesh ( const PhysxClothMeshDesc & meshDesc)

Definition at line 203 of file physxKitchen.cxx.

◆ cook_cloth_mesh() [2/2]

bool PhysxKitchen::cook_cloth_mesh ( const PhysxClothMeshDesc & meshDesc,
const Filename & filename )

Definition at line 82 of file physxKitchen.cxx.

◆ cook_convex_mesh() [1/2]

PhysxConvexMesh * PhysxKitchen::cook_convex_mesh ( const PhysxConvexMeshDesc & meshDesc)

Definition at line 151 of file physxKitchen.cxx.

◆ cook_convex_mesh() [2/2]

bool PhysxKitchen::cook_convex_mesh ( const PhysxConvexMeshDesc & meshDesc,
const Filename & filename )

Definition at line 54 of file physxKitchen.cxx.

◆ cook_soft_body_mesh() [1/2]

PhysxSoftBodyMesh * PhysxKitchen::cook_soft_body_mesh ( const PhysxSoftBodyMeshDesc & meshDesc)

Definition at line 230 of file physxKitchen.cxx.

◆ cook_soft_body_mesh() [2/2]

bool PhysxKitchen::cook_soft_body_mesh ( const PhysxSoftBodyMeshDesc & meshDesc,
const Filename & filename )

Definition at line 96 of file physxKitchen.cxx.

◆ cook_texcoords()

bool PhysxKitchen::cook_texcoords ( const PhysxClothMeshDesc & meshDesc,
const Filename & filename )

Definition at line 110 of file physxKitchen.cxx.

◆ cook_triangle_mesh() [1/2]

PhysxTriangleMesh * PhysxKitchen::cook_triangle_mesh ( const PhysxTriangleMeshDesc & meshDesc)

Definition at line 177 of file physxKitchen.cxx.

◆ cook_triangle_mesh() [2/2]

bool PhysxKitchen::cook_triangle_mesh ( const PhysxTriangleMeshDesc & meshDesc,
const Filename & filename )

Definition at line 68 of file physxKitchen.cxx.

◆ set_cooking_params()

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.


The documentation for this class was generated from the following files: