Table of Contents

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

bodyId b3BodyId

See the Box3D documentation.

shapeArray b3ShapeId*

See the Box3D documentation.

capacity int

See the Box3D documentation.

Returns

int

the number of shape ids stored in the user array