Click or drag to resize
DigitalRuneFixedStepTimerStepSize Property
Gets or sets the minimal size of a time step.

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

Property Value

Type: TimeSpan
The minimal size of a time step. The default value is 1/60 seconds.
Exceptions
ExceptionCondition
ArgumentExceptionvalue is negative or 0.
Remarks

StepSize defines the minimal size of a time step. The size of a time step will be StepSize or an integer multiple thereof (maximal: MaxNumberOfStepsStepSize).

See Also