PxConvexMeshCookingResult

Defined in include/cooking/PxCooking.h

struct PxConvexMeshCookingResult

Result from convex cooking.

Public Types

enum Enum

Values:

enumerator eSUCCESS

Convex mesh cooking succeeded.

enumerator eZERO_AREA_TEST_FAILED

Convex mesh cooking failed, algorithm couldn’t find 4 initial vertices without a small triangle.

enumerator ePOLYGONS_LIMIT_REACHED

Convex mesh cooking succeeded, but the algorithm has reached the 255 polygons limit.

The produced hull does not contain all input vertices. Try to simplify the input vertices or try to use the eINFLATE_CONVEX or the eQUANTIZE_INPUT flags.

See also

PxConvexFlag::eINFLATE_CONVEX PxConvexFlag::eQUANTIZE_INPUT

enumerator eFAILURE

Something unrecoverable happened.

Check the error stream to find out what.