Table of Contents

Namespace Box3D.Native

Classes

B3

The Box3D C API, one method per exported function.

B3Math

The Box3D math helpers that are not exported from the native library.

BindingSource

Identifies the Box3D revision these bindings were generated from.

Box3DLibrary

Interop constants shared by every binding in this assembly.

Constants

The compile-time constants of Box3D.

Ids

Conversions between identifiers and integers, for storing them in application data structures. Port of the static inline helpers in id.h, which are not exported from the shared library.

ScaledConstants

Box3D constants that scale with the application's length units.

Structs

NativeBool

A one-byte boolean matching the C bool from <stdbool.h>.

b3AABB

An axis-aligned bounding box. Mirror of b3AABB.

b3BodyCastResult

The result of casting against a single body. Mirror of b3BodyCastResult.

b3BodyDef

The definition used to create a rigid body. Mirror of b3BodyDef.

b3BodyEvents

The body events buffered during the last step. Mirror of b3BodyEvents.

b3BodyId

References a body instance. Mirror of b3BodyId.

b3BodyMoveEvent

Reports a body moved by the simulation. Mirror of b3BodyMoveEvent.

b3BodyPlaneResult

A plane result together with the shape that produced it. Mirror of b3BodyPlaneResult.

b3BoxCastInput

Input for sweeping a bounding box through a dynamic tree. Mirror of b3BoxCastInput.

b3BoxHull

A self-contained box hull. Mirror of b3BoxHull.

b3Capacity

Optional initial capacities used to avoid run-time allocations. Mirror of b3Capacity.

b3Capsule

A solid capsule: two hemispheres joined by a cylinder. Mirror of b3Capsule.

b3CastOutput

Low-level ray cast or shape cast output. Mirror of b3CastOutput.

b3ChildShape

A child shape of a compound, as a tagged union. Mirror of b3ChildShape.

b3CollisionPlane

A collision plane fed to the mover plane solver. Mirror of b3CollisionPlane.

b3CompoundCapsule

A capsule stored inside a baked compound. Mirror of b3CompoundCapsule.

b3CompoundCapsuleDef

A capsule instance in a compound definition. Mirror of b3CompoundCapsuleDef.

b3CompoundData

A baked compound shape. Mirror of b3CompoundData.

b3CompoundDef

The definition used to bake a compound shape. Mirror of b3CompoundDef.

b3CompoundHull

A convex hull stored inside a baked compound. Mirror of b3CompoundHull.

b3CompoundHullDef

A convex hull instance in a compound definition. Mirror of b3CompoundHullDef.

b3CompoundMesh

A scaled triangle mesh stored inside a baked compound. Mirror of b3CompoundMesh.

b3CompoundMeshDef

A triangle mesh instance in a compound definition. Mirror of b3CompoundMeshDef.

b3CompoundSphere

A sphere stored inside a baked compound. Mirror of b3CompoundSphere.

b3CompoundSphereDef

A sphere instance in a compound definition. Mirror of b3CompoundSphereDef.

b3ContactBeginTouchEvent

Raised when two shapes begin touching. Mirror of b3ContactBeginTouchEvent.

b3ContactData

The contact data between two shapes. Mirror of b3ContactData.

b3ContactEndTouchEvent

Raised when two shapes stop touching. Mirror of b3ContactEndTouchEvent.

b3ContactEvents

The contact events buffered during the last step. Mirror of b3ContactEvents.

b3ContactHitEvent

Raised when two shapes collide faster than the hit event threshold. Mirror of b3ContactHitEvent.

b3ContactId

References a contact instance. Mirror of b3ContactId.

b3CosSin

A cosine and sine pair. Mirror of b3CosSin.

b3Counters

Counters describing the size of the simulation. Mirror of b3Counters.

b3DebugDraw

The callbacks and options used by b3World_Draw. Mirror of b3DebugDraw.

b3DebugShape

Describes a shape to the application so it can build draw resources. Mirror of b3DebugShape.

b3DistanceInput

Input for a closest-points query. Mirror of b3DistanceInput.

b3DistanceJointDef

Connects a point on one body to a point on another by a segment. Mirror of b3DistanceJointDef.

b3DistanceOutput

Output of a closest-points query, in shape A's frame. Mirror of b3DistanceOutput.

b3DynamicTree

A dynamic bounding volume hierarchy over axis-aligned boxes. Mirror of b3DynamicTree.

b3ExplosionDef

Configuration for a radial explosion. Mirror of b3ExplosionDef.

b3FeaturePair

Identifies a contact point by the pair of edges that produced it. Mirror of b3FeaturePair.

b3Filter

Collision filtering data for a shape. Mirror of b3Filter.

b3FilterJointDef

Disables collision between two specific bodies. Mirror of b3FilterJointDef.

b3HeightFieldData

A baked height field with compressed storage. Mirror of b3HeightFieldData.

b3HeightFieldDef

The definition used to build a height field. Mirror of b3HeightFieldDef.

b3HullData

A convex hull. Mirror of b3HullData.

b3HullFace

A convex hull face, identified by one of its half-edges. Mirror of b3HullFace.

b3HullHalfEdge

A half-edge in the convex hull data structure. Mirror of b3HullHalfEdge.

b3HullVertex

A convex hull vertex, identified by an outgoing half-edge. Mirror of b3HullVertex.

b3JointDef

The fields shared by every joint definition. Mirror of b3JointDef.

b3JointEvent

Reports an awake joint whose force or torque exceeded its threshold. Mirror of b3JointEvent.

b3JointEvents

The joint events buffered during the last step. Mirror of b3JointEvents.

b3JointId

References a joint instance. Mirror of b3JointId.

b3LocalManifold

The output of the low-level b3Collide* functions, in shape A's frame. Mirror of b3LocalManifold.

b3LocalManifoldPoint

A manifold point expressed in shape A's frame, with no dynamics. Mirror of b3LocalManifoldPoint.

b3Manifold

The contact points between two colliding shapes. Mirror of b3Manifold.

b3ManifoldPoint

A contact point within a manifold. Mirror of b3ManifoldPoint.

b3ManifoldPointArray

The four contact point slots of a manifold.

b3MassData

The mass properties of a shape or body. Mirror of b3MassData.

b3Matrix3

A 3x3 matrix stored as three column vectors. Mirror of b3Matrix3.

b3Mesh

A reference to baked mesh data together with an instance scale. Mirror of b3Mesh.

b3MeshData

A baked triangle mesh with its bounding volume hierarchy. Mirror of b3MeshData.

b3MeshDef

The definition used to build a reusable collision mesh. Mirror of b3MeshDef.

b3MeshNode

A node in the mesh bounding volume hierarchy. Mirror of b3MeshNode.

b3MeshTriangle

A triangle in a collision mesh. Mirror of b3MeshTriangle.

b3MotionLocks

Per-axis locks restricting body movement. Mirror of b3MotionLocks.

b3MotorJointDef

Controls the relative position and velocity of two bodies while staying responsive to collisions. Mirror of b3MotorJointDef.

b3ParallelJointDef

Constrains the angle between the z axis of frame A and the z axis of frame B with a spring. Mirror of b3ParallelJointDef.

b3Plane

A plane, where separation = dot(normal, point) - offset. Mirror of b3Plane.

b3PlaneResult

A plane between a character mover and a shape. Mirror of b3PlaneResult.

b3PlaneSolverResult

The result of the mover plane solver. Mirror of b3PlaneSolverResult.

b3PrismaticJointDef

Allows body B to slide along the x axis of frame A without relative rotation. Mirror of b3PrismaticJointDef.

b3Profile

Timing breakdown of a world step, in milliseconds. Mirror of b3Profile.

b3QueryFilter

Filters collisions between a query and the shapes it visits. Mirror of b3QueryFilter.

b3RayCastInput

Low-level ray cast input. Mirror of b3RayCastInput.

b3RayResult

The result of a closest-hit world ray cast. Mirror of b3RayResult.

b3RecPlayer

An opaque incremental replay player. Mirror of the incomplete type b3RecPlayer.

b3RecPlayerInfo

A summary of a recording, read once when it is opened. Mirror of b3RecPlayerInfo.

b3RecQueryHit

One result of a recorded spatial query. Mirror of b3RecQueryHit.

b3RecQueryInfo

A spatial query captured during a replayed frame. Mirror of b3RecQueryInfo.

b3Recording

An opaque recording buffer. Mirror of the incomplete type b3Recording.

b3RevoluteJointDef

Pins a point on body B to a point on body A, allowing relative rotation about one axis. Mirror of b3RevoluteJointDef.

b3SATCache

A cache of the last separating axis, used to accelerate repeated collision queries between the same pair. Mirror of b3SATCache.

b3SegmentDistanceResult

The closest points between two segments or infinite lines. Mirror of b3SegmentDistanceResult.

b3SensorBeginTouchEvent

Raised when a shape begins overlapping a sensor. Mirror of b3SensorBeginTouchEvent.

b3SensorEndTouchEvent

Raised when a shape stops overlapping a sensor. Mirror of b3SensorEndTouchEvent.

b3SensorEvents

The sensor events buffered during the last step. Mirror of b3SensorEvents.

b3ShapeCastInput

Low-level shape cast input. Mirror of b3ShapeCastInput.

b3ShapeCastPairInput

Input for a pairwise shape cast. Mirror of b3ShapeCastPairInput.

b3ShapeDef

The definition used to create a shape. Mirror of b3ShapeDef.

b3ShapeId

References a shape instance. Mirror of b3ShapeId.

b3ShapeProxy

A convex shape expressed as a point cloud with a radius, used by GJK. Mirror of b3ShapeProxy.

b3Simplex

A GJK simplex, exposed for debugging. Mirror of b3Simplex.

b3SimplexCache

A warm-start cache for the GJK simplex. Mirror of b3SimplexCache.

b3SimplexVertex

A GJK simplex vertex, exposed for debugging. Mirror of b3SimplexVertex.

b3SimplexVertexArray

The four vertex slots of a GJK simplex.

b3Sphere

A solid sphere. Mirror of b3Sphere.

b3SphericalJointDef

Pins a point on body B to a point on body A, allowing rotation about that shared point. Mirror of b3SphericalJointDef.

b3SurfaceMaterial

Surface properties, supported per triangle on meshes and height fields. Mirror of b3SurfaceMaterial.

b3Sweep

The motion of a body over a time step, for time of impact. Mirror of b3Sweep.

b3TOIInput

Input for a time of impact query. Mirror of b3TOIInput.

b3TOIOutput

Output of a time of impact query. Mirror of b3TOIOutput.

b3Transform

A rigid transform: a rotation followed by a translation. Mirror of b3Transform.

b3TreeNode

A node in the dynamic tree. Mirror of b3TreeNode.

b3TreeNodeChildren

The child indices of an internal tree node. Mirror of b3TreeNodeChildren.

b3TreeNodeFlagsStorage

The storage form of Box3D.Native.b3TreeNodeFlags inside a Box3D.Native.b3TreeNode, which the C header declares as a uint16_t.

b3TreeStats

Traversal counters returned by dynamic tree queries. Mirror of b3TreeStats.

b3Vec2

A 2D vector. Mirror of b3Vec2.

b3Version

The Box3D version, following semantic versioning. Mirror of b3Version.

b3WeldJointDef

Rigidly connects two bodies, with optional springs to mimic soft-body behaviour. Mirror of b3WeldJointDef.

b3WheelJointDef

Models a wheel with suspension, spin and optional steering. Mirror of b3WheelJointDef.

b3WorldDef

The definition used to create a simulation world. Mirror of b3WorldDef.

b3WorldId

References a world instance. Mirror of b3WorldId.

Enums

b3BodyType

The body simulation type. Mirror of b3BodyType.

b3DebugMaterial

A debug draw material preset. Mirror of b3DebugMaterial.

b3HexColor

Colours used by debug draw. Mirror of b3HexColor.

b3JointType

The joint type. Mirror of b3JointType.

b3MeshEdgeFlags

Adjacency flags on a mesh triangle. Mirror of b3MeshEdgeFlags.

b3RecQueryType

The kind of a recorded spatial query. Mirror of b3RecQueryType.

b3SeparatingFeature

The cached separating axis feature. Mirror of the anonymous enum typedef'd as b3SeparatingFeature.

b3ShapeType

The shape type. Mirror of b3ShapeType.

b3TOIState

The outcome of a time of impact query. Mirror of b3TOIState.

b3TreeNodeFlags

Flags on a dynamic tree node. Mirror of b3TreeNodeFlags.

b3TriangleFeature

The cached triangle feature involved in a contact. Mirror of the anonymous enum typedef'd as b3TriangleFeature.