HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Namespace List
Here is a list of all documented namespaces with brief descriptions:
[detail level 123]
 NBox2D
 NCharacter_Movement
 CCollisionPlaneThese are collision planes that can be fed to b2SolvePlanes. Normally this is assembled by the user from plane results in b2PlaneResult
 CPlaneA plane in 2D space
 CPlaneResultThese are the collision planes returned from b2World_CollideMover
 CPlaneSolverResultResult returned by b2SolvePlanes
 NComparers
 NDelegates
 NGeneric
 NSafe
 NUnsafe
 CAABBAn Axis-Aligned Bounding Box
 CBodyA Box2D physics body. The body's transform is the base transform for all shapes attached to this body
 CBodyDefA body definition holds all the data needed to construct a rigid body. You can safely re-use body definitions. Shapes are added to a body after construction. Body definitions are temporary objects used to bundle creation parameters
 CBodyEventsBody events are buffered in the Box2D world and are available as event arrays after the time step is complete. Note: this data becomes invalid if bodies are destroyed
 CBodyMoveEventBody move events triggered when a body moves. Triggered when a body moves due to simulation. Not reported for bodies moved by the user. This also has a flag to indicate that the body went to sleep so the application can also sleep that actor/entity/object associated with the body. On the other hand if the flag does not indicate the body went to sleep then the application can treat the actor/entity/object associated with the body as awake. This is an efficient way for an application to update game object transforms rather than calling functions such as Body.GetTransform() because this data is delivered as a contiguous array and it is only populated with bodies that have moved. Note: If sleeping is disabled all dynamic and kinematic bodies will trigger move events.
 CBox2DVersionBox2D version information
 CCapsuleA solid capsule can be viewed as two semicircles connected by a rectangle
 CCastOutputLow level ray cast or shape-cast output data
 CChainDefUsed to create a chain of line segments. This is designed to eliminate ghost collisions with some limitations
 CChainSegmentA line segment with one-sided collision. Only collides on the right side. Several of these are generated for a chain shape.
ghost1 -> point1 -> point2 -> ghost2
 CChainShapeA chain shape is a series of connected line segments
 CCircleA solid circle
 CContactBeginTouchEventA begin touch event is generated when two shapes begin touching
 CContactDataThe contact data for two shapes. By convention the manifold normal points from shape A to shape B
 CContactEndTouchEventAn end touch event is generated when two shapes stop touching. You will get an end event if you do anything that destroys contacts previous to the last world step. These include things like setting the transform, destroying a body or shape, or changing a filter or body type
 CContactEventsContact events are buffered in the Box2D world and are available as event arrays after the time step is complete. Note: these may become invalid if bodies and/or shapes are destroyed
 CContactHitEventA hit touch event is generated when two shapes collide with a speed faster than the hit speed threshold
 CCountersCounters that give details of the simulation size
 CDebugDrawDebug Draw base class. You cannot set DebugDraw delegates with this class. Use an instance of one of these implementations:
 CDebugDrawGenericThis class holds callbacks you can implement to draw a Box2D world
 CDebugDrawGenericBaseBase class for DebugDrawGeneric implementations - i.e. those that receive a managed type context
 CDebugDrawInternalThis struct holds callbacks you can implement to draw a Box2D world. This structure should be zero initialized
 CDebugDrawSimpleThis class holds callbacks you can implement to draw a Box2D world
 CDebugDrawSimpleBaseBase class for simple debug draw implementations - i.e. without context
 CDebugDrawUnsafeThis class holds callbacks you can implement to draw a Box2D world
 CDebugDrawUnsafeBaseBase class for unsafe debug draw implementations - i.e. those that use pointers
 CDistanceInputInput for ShapeDistance
 CDistanceJointA distance joint.
This requires defining an anchor point on both bodies and the non-zero distance of the distance joint. The definition uses local anchor points so that the initial configuration can violate the constraint slightly. This helps when saving and loading a game
 CDistanceJointDefDistance joint definition
This requires defining an anchor point on both bodies and the non-zero distance of the distance joint. The definition uses local anchor points so that the initial configuration can violate the constraint slightly. This helps when saving and loading a game
 CDistanceOutputOutput for ShapeDistance
 CDynamicTreeDynamic tree for broad-phase collision detection
 CExplosionDefThe explosion definition is used to configure options for explosions. Explosions consider shape geometry when computing the impulse
 CFilterThis is used to filter collision on shapes. It affects shape-vs-shape collision and shape-versus-query collision (such as World.CastRay)
 CFilterJointDefThe filter joint is used to disable collision between two bodies. As a side effect of being a joint, it also keeps the two bodies in the same simulation island
 CGearsGear calculation functionality no included in Box2D
 CHullA convex hull. Used to create convex polygons
 CJointJoints allow you to connect rigid bodies together while allowing various forms of relative motions
 CManifoldA contact manifold describes the contact points between colliding shapes
 CManifoldPointA manifold point is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points. Box2D uses speculative collision so some contact points may be separated. You may use the maxNormalImpulse to determine if there was an interaction during the time step
 CMassDataThis holds the mass data computed for a shape
 CMotorJointThe motor joint is used to drive the relative transform between two bodies. It takes a relative position and rotation and applies the forces and torques needed to achieve that relative transform over time
 CMotorJointDefA motor joint is used to control the relative motion between two bodies
 CMouseJointThe mouse joint is designed for use in the samples application, but you may find it useful in applications where the user moves a rigid body with a cursor
 CMouseJointDefA mouse joint is used to make a point on a body track a specified world point.
 CPolygonA solid convex polygon. It is assumed that the interior of the polygon is to the left of each edge. Polygons have a maximum number of vertices equal to B2_MAX_POLYGON_VERTICES. In most cases you should not need many vertices for a convex polygon. Warning: DO NOT fill this out manually, instead use a helper function like MakePolygon or MakeBox.
 CPrismaticJointA prismatic joint allows for translation along a single axis with no rotation
 CPrismaticJointDefPrismatic joint definition
 CProfileProfiling data for Box2D. All times are in milliseconds
 CQueryFilterThe query filter is used to filter collisions between queries and shapes. For example, you may want a ray-cast representing a projectile to hit players and the static environment but not debris
 CRayCastInputLow level ray cast input data
 CRayResultResults of a Box2D raycast query, including intersection details and traversal statistics
 CRevoluteJointA revolute joint allows for relative rotation in the 2D plane with no relative translation
 CRevoluteJointDefRevolute joint definition
 CRotationRotation expressed as a cosine and sine
 CSegmentA line segment with two-sided collision
 CSegmentDistanceResultResult of computing the distance between two line segments
 CSensorBeginTouchEventA begin touch event is generated when a shape starts to overlap a sensor shape
 CSensorEndTouchEventAn end touch event is generated when a shape stops overlapping a sensor shape. These include things like setting the transform, destroying a body or shape, or changing a filter. You will also get an end event if the sensor or visitor are destroyed. Therefore you should always confirm the shape is valid using Shape.Valid
 CSensorEventsSensor events are buffered in the Box2D world and are available as begin/end overlap event arrays after the time step is complete. Note: these may become invalid if bodies and/or shapes are destroyed
 CShapeA shape is a geometric object used for collision detection
 CShapeCastInputLow level shape cast input in generic form. This allows casting an arbitrary point cloud wrap with a radius. For example, a circle is a single point with a non-zero radius. A capsule is two points with a non-zero radius. A box is four points with a zero radius
 CShapeCastPairInputInput parameters for ShapeCast
 CShapeDefUsed to create a shape. This is a temporary object used to bundle shape creation parameters. You may use the same shape definition to create multiple shapes
 CShapeProxyA distance proxy is used by the GJK algorithm. It encapsulates any shape. You can provide between 1 and Constants.MAX_POLYGON_VERTICES and a radius
 CSimplexSimplex from the GJK algorithm
 CSimplexCacheUsed to warm start the GJK simplex. If you call this function multiple times with nearby transforms this might improve performance. Otherwise you can zero initialize this. The distance cache must be initialized to zero on the first call. Users should generally just zero initialize this structure for each call
 CSimplexVertexSimplex vertex for debugging the GJK algorithm
 CSurfaceMaterialSurface materials allow chain shapes to have per segment surface properties
 CSweepThis describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may not coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position
 CTOIInputInput parameters for TimeOfImpact
 CTOIOutputOutput parameters for TimeOfImpact
 CTransformA transform contains translation and rotation
 CTreeChildrenThe children of a TreeNode
 CTreeNodeA node in a DynamicTree
 CTreeStatsThese are performance results returned by dynamic tree queries
 CWeldJointA weld joint fully constrains the relative transform between two bodies while allowing for springiness A weld joint constrains the relative rotation and translation between two bodies. Both rotation and translation can have damped springs.
Note: The accuracy of weld joint is limited by the accuracy of the solver. Long chains of weld joints may flex.
 CWeldJointDefWeld joint definition
 CWheelJointThe wheel joint can be used to simulate wheels on vehicles
 CWheelJointDefWheel joint definition
 CWorldA Box2D World, the container for all bodies, shapes, and constraints
 CWorldDefWorld definition used to create a simulation world