Click or drag to resize
DigitalRuneTimingSettingsMaxNumberOfSteps Property
Gets or sets the maximal number of sub-steps performed during one time step.

Namespace: DigitalRune.Physics.Settings
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public int MaxNumberOfSteps { get; set; }

Property Value

Type: Int32
The maximal number of sub-steps performed during one time step. The default value is 8.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative or 0.
Remarks
This value implicitly defines the maximum size of a time step. A time step will be an integer multiple of FixedTimeStep, but maximal MaxNumberOfStepsFixedTimeStep. If Simulation. Update(TimeSpan) is called with a larger time step, time is lost.
See Also