Main Page Class List Class Members

# Nv::Blast::ConvexMeshBuilder Class Reference

`#include <NvBlastExtAuthoringConvexMeshBuilder.h>`

Inheritance diagram for Nv::Blast::ConvexMeshBuilder:

List of all members.

## Public Member Functions
virtual CollisionHull * | buildCollisionGeometry (uint32_t verticesCount, const NvcVec3 *vertexData)=0
virtual void | release ()=0
virtual void | releaseCollisionHull (CollisionHull *hull) const =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 CollisionHull* Nv::Blast::ConvexMeshBuilder::buildCollisionGeometry | ( | uint32_t | verticesCount,
|  | const NvcVec3 * | vertexData |
| ) |  |  | `[pure virtual]`

Method creates CollisionHull from provided array of vertices.

Parameters:

  `[in]` | verticesCount | Number of vertices
  `[in]` | vertexData | Vertex array of some object, for which collision geometry should be built
  `[out]` | output | Reference on CollisionHull object in which generated geometry should be saved

Implemented in Nv::Blast::ExtPxCollisionBuilderImpl.

virtual void Nv::Blast::ConvexMeshBuilder::release | ( |  | ) | `[pure virtual]`

Release ConvexMeshBuilder memory

Implemented in Nv::Blast::ExtPxCollisionBuilderImpl.

virtual void Nv::Blast::ConvexMeshBuilder::releaseCollisionHull | ( | CollisionHull * | hull | ) | const`[pure virtual]`

Release CollisionHull memory.

Implemented in Nv::Blast::ExtPxCollisionBuilderImpl.

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

- sdk/extensions/authoringCommon/include/NvBlastExtAuthoringConvexMeshBuilder.h