Table of Contents

Struct b3MeshDef

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

The definition used to build a reusable collision mesh. Mirror of b3MeshDef.

public struct b3MeshDef

Inherited Members

Fields

identifyEdges

Whether to compute triangle adjacency from shared edges.

indices

Three vertex indices per triangle, wound counter-clockwise.

materialIndices

One material index per triangle, indexing into b3ShapeDef.materials.

triangleCount

The number of triangles. Must be at least one.

useMedianSplit

Whether to use a median split instead of a surface area heuristic.

vertexCount

The number of vertices. Must be at least three.

vertices

The vertex positions.

weldTolerance

The vertex welding tolerance, in length units.

weldVertices

Whether to weld nearby vertices.