Function physx_sys::PxTriangleMeshGeometry_isValid
source · pub unsafe extern "C" fn PxTriangleMeshGeometry_isValid(
self_: *const PxTriangleMeshGeometry
) -> bool
Expand description
Returns true if the geometry is valid.
True if the current settings are valid for shape creation.
A valid triangle mesh has a positive scale value in each direction (scale.scale.x > 0, scale.scale.y > 0, scale.scale.z > 0). It is illegal to call PxRigidActor::createShape and PxPhysics::createShape with a triangle mesh that has zero extents in any direction.