[]
Specifies a timer event handler.
public void SetTimerEventHandler(Timer.UpdateDelegate preUpdateHandler = null, Timer.UpdateDelegate postUpdateHandler = null, Timer.RenderingTooSlowDelegate renderingTooSlowHandler = null)
Public Sub SetTimerEventHandler(Optional preUpdateHandler As Timer.UpdateDelegate = Nothing, Optional postUpdateHandler As Timer.UpdateDelegate = Nothing, Optional renderingTooSlowHandler As Timer.RenderingTooSlowDelegate = Nothing)
| Type | Name | Description |
|---|---|---|
| Timer.UpdateDelegate | preUpdateHandler | A delegate that handles events that occur before an animation update begins. |
| Timer.UpdateDelegate | postUpdateHandler | A delegate that handles events that occur after an animation update is finished. |
| Timer.RenderingTooSlowDelegate | renderingTooSlowHandler | A delegate that handles events that occur when the rendering frame rate for an animation falls below a minimum desirable frame rate. |