Table of Contents

Method Build

Namespace
Box3D
Assembly
Box3D.NET.dll

Build()

Bakes the children into a compound.

public CompoundGeometry Build()

Returns

CompoundGeometry

The compound.

Remarks

The builder may be reused and built again; nothing here is consumed.

Exceptions

InvalidOperationException

No children were added, there are more than Box3D.Native.Constants.B3_MAX_CHILD_SHAPES of them, or the engine refused to build the compound.

ObjectDisposedException

A hull or mesh that was added has since been disposed.