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
worldPhysicsWorld-
The world.
Returns
- b3WorldId
-
The identifier the C API expects.
Exceptions
- ArgumentNullException
-
worldis null.
ToNativeId(Body)
Gets the native identifier of a body.
public static b3BodyId ToNativeId(this Body body)Parameters
bodyBody-
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
shapeShape-
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
jointJoint-
The joint.
Returns
- b3JointId
-
The identifier the C API expects.