Main Page Class List Class Members

# Nv::Blast::ExtPxCollisionBuilder Class Reference

`#include <NvBlastExtPxCollisionBuilder.h>`

Inheritance diagram for Nv::Blast::ExtPxCollisionBuilder:

List of all members.

## Public Member Functions
virtual physx::PxConvexMesh * | buildConvexMesh (const CollisionHull &hull)=0
virtual void | buildPhysicsChunks (uint32_t chunkCount, uint32_t *hullOffsets, CollisionHull **hulls, ExtPxChunk *physicsChunks, ExtPxSubchunk *physicsSubchunks)=0

## Detailed Description

ConvexMeshBuilder provides routine to build collision hulls from array of vertices. Collision hull is built as convex hull of provided point set. If due to some reason building of convex hull is failed, collision hull is built as bounding box of vertex set. PhysX implementation can be found in NvBlastExtPx.

## Member Function Documentation

virtual physx::PxConvexMesh* Nv::Blast::ExtPxCollisionBuilder::buildConvexMesh | ( | const CollisionHull & | hull | ) | `[pure virtual]`

Method creates user defined collision mesh from provided array of vertices. ConvexMeshBuilder from ExtPhysX returns PxConvexMesh pointer.

Parameters:

  `[in]` | hull | Collision hull.

Implemented in Nv::Blast::ExtPxCollisionBuilderImpl.

virtual void Nv::Blast::ExtPxCollisionBuilder::buildPhysicsChunks | ( | uint32_t | chunkCount,
|  | uint32_t * | hullOffsets,
|  | CollisionHull ** | hulls,
|  | ExtPxChunk * | physicsChunks,
|  | ExtPxSubchunk * | physicsSubchunks |
| ) |  |  | `[pure virtual]`

Build physics chunks and subchunks from collision hulls

Implemented in Nv::Blast::ExtPxCollisionBuilderImpl.

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

- sdk/extensions/physx/include/NvBlastExtPxCollisionBuilder.h