Click or drag to resize
DigitalRuneFixedStepTimerAccumulatedSteps Property
Gets the number of accumulated steps.

Namespace: DigitalRune.Game.Timing
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
public int AccumulatedSteps { get; }

Property Value

Type: Int32
The number of accumulated steps.
Remarks

This property is only set during a TimeChanged event. After each TimeChanged event it is reset to 0. During a TimeChanged event AccumulatedSteps indicates how many fixed time steps have been accumulated. In other words:

AccumulatedSteps = |DeltaTime / StepSize|

If the game is fast enough or if AccumulateTimeSteps is , AccumulatedSteps is exactly 1 during a TimeChanged event. Only if the game is running slowly and AccumulateTimeSteps is , AccumulatedSteps can be greater than 1.

See Also