Struct b3Capacity
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Optional initial capacities used to avoid run-time allocations. Mirror of b3Capacity.
public struct b3CapacityInherited Members
Remarks
Obtain realistic numbers for an existing simulation from b3World_GetMaxCapacity
and feed them back into Box3D.Native.b3WorldDef on the next run.
Fields
- contactCount
-
The expected number of contacts.
- dynamicBodyCount
-
The expected number of dynamic and kinematic bodies.
- dynamicShapeCount
-
The expected number of dynamic and kinematic shapes.
- staticBodyCount
-
The expected number of static bodies.
- staticShapeCount
-
The expected number of static shapes.