Class SleepLoopRenderTimer
[PrivateApi]
public class SleepLoopRenderTimer : IRenderTimer
- Inheritance
-
SleepLoopRenderTimer
- Implements
- Inherited Members
Constructors
SleepLoopRenderTimer(int)
public SleepLoopRenderTimer(int fps)
Parameters
fps
int
Properties
RunsInBackground
Indicates if the timer ticks on a non-UI thread
public bool RunsInBackground { get; }
Property Value
Events
Tick
Raised when the render timer ticks to signal a new frame should be drawn.
public event Action<TimeSpan> Tick
Event Type
Remarks
This event can be raised on any thread; it is the responsibility of the subscriber to switch execution to the right thread.