FixedStepConfig<'Msg> Type
Configuration for a framework-managed fixed timestep simulation.
When enabled, the runtime converts MonoGame's variable ElapsedGameTime into
zero or more fixed-size simulation steps per MonoGame Update call.
Record fields
| Record Field |
Description
|
Full Usage:
Map
Field type: float32 -> 'Msg
|
Maps a fixed-step delta (seconds) to a message.
|
Full Usage:
MaxFrameSeconds
Field type: float32 voption
|
Clamp the per-frame delta used for accumulation. Default behavior is to clamp to 0.25 seconds.
|
Full Usage:
MaxStepsPerFrame
Field type: int
|
Maximum number of fixed steps to run in a single MonoGame frame. This prevents the "spiral of death" after long stalls. If the cap is hit, remaining accumulated time is dropped.
|
Full Usage:
StepSeconds
Field type: float32
|
Fixed simulation step size in seconds (e.g. 1/60 = 0.0166667).
|
Mibo