Table of Contents

Namespace Jitter2

Classes

CallbackThreadAttribute

Indicates the thread context in which a callback or event is expected to be invoked. Documents the calling convention; it does not enforce thread safety.

DebugDrawColors

Common colors packed as 0xRRGGBBAA.

DebugDrawGeometry

Draws common debug shapes using an IDebugDrawer.

Logger

Provides logging functionality.

Precision

Provides constants and utilities related to floating-point precision configuration. The library can be compiled with single-precision (float) or double-precision (double) by defining the USE_DOUBLE_PRECISION symbol.

ReferenceFrameAttribute

Documents the coordinate system used by a member.

SameBodyException

Thrown when two body arguments are required to reference different bodies.

World

Contains the bodies, contacts, and constraints of a physics simulation.

World.InvalidCollisionTypeException

Thrown when the narrow phase encounters a pair of proxy types it cannot process.

Structs

DebugDrawSettings

Controls the size, detail, and colors of debug visualizations. A default-initialized value uses the same settings as Default.

TimeStep

Timing information for a simulation step and its solver substeps.

World.SpanData

Provides direct access to body, contact, and constraint data stored in unmanaged memory.

Interfaces

IDebugDrawable

Defines an interface for objects that can be debug-drawn.

IDebugDrawer

Receives colored line segments and triangles for debug visualization, in world space.

Enums

Logger.LogLevel

Defines the severity levels for logging messages.

ReferenceFrame

The coordinate system in which a value is expressed.

SolveMode

Controls which solver strategy is used during Step(float, bool).

ThreadContext

Specifies the threading context in which code executes or a callback is invoked.

World.ThreadModelType

Controls how internal worker threads behave between calls to Step(float, bool).

World.Timings

Profiling buckets for DebugTimings, representing stages of Step(float, bool).

Delegates

World.WorldStep

Delegate for per-step and per-substep callbacks.