| SimulationTargetTime Property |
Gets the target time to which the simulation
Time should advance.
Namespace: DigitalRune.PhysicsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public TimeSpan TargetTime { get; }
Public ReadOnly Property TargetTime As TimeSpan
Get
public:
property TimeSpan TargetTime {
TimeSpan get ();
}
member TargetTime : TimeSpan with get
Property Value
Type:
TimeSpanThe target simulation time.
Remarks TargetTime is the time to which the simulation should advance.
Time is the time to which the simulation has actually advanced.
is updated at the beginning of
Update(TimeSpan).
Then
Update(TimeSpan) advances the simulation in fixed time steps ("sub time
steps"). Each step increases
Time.
Update(TimeSpan) ends when
the difference between
TargetTime and
Time is less than one
fixed time step size.
See Also Reference
SimulationTargetTime