RenderContextTime Property |
Namespace: DigitalRune.Graphics
This value can be used to control time-based animations. In effects it can be used with the Time semantic.
This value is automatically set by the graphics service. It is computed by continuously summing up the DeltaTime values.
Important:
If the time in seconds is cast to a single precision floating point number
(Single), then it will become unusable after several hours or days - depending
on the required resolution. Therefore, this value must be reset regularly in long-running
applications. To reset the time just set this property back to
TimeSpan.Zero