models library
Classes
- BodyCreate
- Adds a new body to the simulation.
- BodyDelete
- Removes a body from the simulation.
- BodyEdit
- Base type for runtime body edit operations.
- BodyUpdate
- Updates one or more properties of an existing body.
- RenderOptions
- View/render option bundle.
- ScenarioModel
- Portable scenario document used for save/load operations.
- SimulationAnalytics
- Aggregated simulation metrics for diagnostics and telemetry.
- SimulationBody
- Immutable simulation body state.
- SimulationConfig
- Immutable runtime physics configuration.
- SimulationState
- Immutable simulation state snapshot.
- SnapshotModel
- Point-in-time snapshot payload used for restore/replay workflows.
- StepSummary
- Aggregated telemetry returned by a simulation stepping call.
- Vec2
- Immutable 2D vector.
Enums
- CameraMode
- Camera behavior mode for view-layer consumers.
- CollisionMode
- Collision handling strategy.
- DtPolicy
- Timestep policy for integration.
- GravitySolver
- Gravity solver mode.
- IntegratorKind
- Supported integration algorithms for advancing simulation state.
- RenderQuality
- Render quality profile.
Functions
-
bodyEditFromJson(
Map< String, dynamic> json) → BodyEdit - Parses a BodyEdit from transport JSON.
-
bodyEditToJson(
BodyEdit edit) → Map< String, dynamic> - Converts a BodyEdit polymorphic value into transport JSON.