Logo Mibo

AdaptiveFixedStepConfig Type

Fixed-step configuration for an adaptive program — the adaptive counterpart of FixedStepConfig, without the message-mapping slot (there is no 'Msg).

When enabled, the runner converts the variable frame time into zero or more fixed-size steps per AdaptiveHeadless.Step: it applies cross-thread posts once at the boundary, then per fixed-size step writes the time root, runs the program's Update phase, and drains the intent queue until empty — each sub-step reads settled state. The frame is forced once at the end, so the intermediate steps are integrated but not observed by the frame.

This mirrors the MVU TickFrame fixed-step loop, calling Update instead of dispatching a mapped message.

Record fields

Record Field Description

MaxFrameSeconds

Full Usage: MaxFrameSeconds

Field type: float32 voption

Clamp the per-frame delta used for accumulation. Default behavior is to clamp to 0.25 seconds.

Field type: float32 voption

MaxStepsPerFrame

Full Usage: MaxStepsPerFrame

Field type: int

Maximum number of fixed steps to run in a single frame.

This prevents the "spiral of death" after long stalls. If the cap is hit, remaining accumulated time is dropped.

Field type: int

StepSeconds

Full Usage: StepSeconds

Field type: float32

Fixed simulation step size in seconds (e.g. 1/60 = 0.0166667).

Field type: float32

Type something to start searching.