PxConvexMeshCookingResult Struct Reference

Result from convex cooking. More...

#include <PxCooking.h>

Public Types

enum  Enum { eSUCCESS, eZERO_AREA_TEST_FAILED, ePOLYGONS_LIMIT_REACHED, eFAILURE }
 

Detailed Description

Result from convex cooking.

Member Enumeration Documentation

◆ Enum

Enumerator
eSUCCESS 

Convex mesh cooking succeeded.

eZERO_AREA_TEST_FAILED 

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

See also
PxCookingParams::areaTestEpsilon PxConvexFlag::eCHECK_ZERO_AREA_TRIANGLES
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
eFAILURE 

Something unrecoverable happened. Check the error stream to find out what.


The documentation for this struct was generated from the following file: