Table of Contents

Struct HullData

Namespace
BepuPhysics.Collidables
Assembly
BepuPhysics.dll

Raw data representing a convex hull.

public struct HullData
Inherited Members

Remarks

This is not yet transformed into a runtime format. It requires additional processing to be used in a ConvexHull shape; see ConvexHullHelper.ProcessHull.

Fields

FaceStartIndices

Starting index in the FaceVertexIndices for each face.

public Buffer<int> FaceStartIndices

Field Value

Buffer<int>

FaceVertexIndices

List of indices composing the faces of the hull. Individual faces indexed by the FaceIndices.

public Buffer<int> FaceVertexIndices

Field Value

Buffer<int>

OriginalVertexMapping

Mapping of points on the convex hull back to the original point set.

public Buffer<int> OriginalVertexMapping

Field Value

Buffer<int>

Methods

Dispose(BufferPool)

public void Dispose(BufferPool pool)

Parameters

pool BufferPool

GetFace(int, out HullFace)

public void GetFace(int faceIndex, out HullFace face)

Parameters

faceIndex int
face HullFace