Table of Contents

Method ToNativeId

Namespace
Box3D.Interop
Assembly
Box3D.NET.dll

ToNativeId(PhysicsWorld)

Gets the native identifier of a world.

public static b3WorldId ToNativeId(this PhysicsWorld world)

Parameters

world PhysicsWorld

The world.

Returns

b3WorldId

The identifier the C API expects.

Exceptions

ArgumentNullException

world is null.

ToNativeId(Body)

Gets the native identifier of a body.

public static b3BodyId ToNativeId(this Body body)

Parameters

body Body

The body.

Returns

b3BodyId

The identifier the C API expects.

ToNativeId(Shape)

Gets the native identifier of a shape.

public static b3ShapeId ToNativeId(this Shape shape)

Parameters

shape Shape

The shape.

Returns

b3ShapeId

The identifier the C API expects.

ToNativeId(Joint)

Gets the native identifier of a joint.

public static b3JointId ToNativeId(this Joint joint)

Parameters

joint Joint

The joint.

Returns

b3JointId

The identifier the C API expects.