Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICustomAnimationFrameRequester

Interface for any object that can request an animation frame

Hierarchy

  • ICustomAnimationFrameRequester

Index

Properties

Optional renderFunctionSearch playground for renderFunction

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

requestAnimationFrameSearch playground for requestAnimationFrame

requestAnimationFrame: Function

Called to request the next frame to render to

see

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

Optional requestIDSearch playground for requestID

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
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method