Method b3Body_GetShapes
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Body_GetShapes(b3BodyId, b3ShapeId*, int)
Get the shape ids for all shapes on this body, up to the provided capacity.
public static extern int b3Body_GetShapes(b3BodyId bodyId, b3ShapeId* shapeArray, int capacity)Parameters
bodyIdb3BodyId-
See the Box3D documentation.
shapeArrayb3ShapeId*-
See the Box3D documentation.
capacityint-
See the Box3D documentation.
Returns
- int
-
the number of shape ids stored in the user array