[]
        
(Showing Draft Content)

C1.Util.DX.Animation.Timer.SetTimerEventHandler

SetTimerEventHandler Method

SetTimerEventHandler(UpdateDelegate, UpdateDelegate, RenderingTooSlowDelegate)

Specifies a timer event handler.

Declaration
public void SetTimerEventHandler(Timer.UpdateDelegate preUpdateHandler = null, Timer.UpdateDelegate postUpdateHandler = null, Timer.RenderingTooSlowDelegate renderingTooSlowHandler = null)
Parameters
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.