Method Dispose
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
Dispose()
Releases the mesh.
public void Dispose()Remarks
Every shape built from this mesh must already be gone. Shapes hold a borrowed pointer to this memory, so disposing while one is alive is a use-after-free inside the solver, not an exception. Dispose the world first.