Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for any object that can request an animation frame

Hierarchy

  • ICustomAnimationFrameRequester

Index

Properties

cancelAnimationFrame?: Function

Called to cancel the next frame request

renderFunction?: Function

This function will be called when the render loop is ready. If this is not populated, the engine's renderloop function will be called

requestAnimationFrame: Function
requestID?: number

You can pass this value to cancelAnimationFrame() to cancel the refresh callback request

see

https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#Return_value

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme