| HighPrecisionClockMaxDeltaTime Property |
Namespace: DigitalRune.Game.TimingAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public TimeSpan MaxDeltaTime { get; set; }
Public Property MaxDeltaTime As TimeSpan
Get
Set
public:
virtual property TimeSpan MaxDeltaTime {
TimeSpan get () sealed;
void set (TimeSpan value) sealed;
}
abstract MaxDeltaTime : TimeSpan with get, set
override MaxDeltaTime : TimeSpan with get, set
Property Value
Type:
TimeSpan
The max limit for
DeltaTime. The default value is 100 ms.
Implements
IGameClockMaxDeltaTimeRemarks DeltaTime is clamped to MaxDeltaTime. This is useful to avoid
large time jumps when the game is paused in the debugger or waiting for a blocking operation
where the user cannot interact with the game.
See Also