mooball
    Preparing search index...

    Interface RendererCallbacks

    interface RendererCallbacks {
        render?(): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Methods

    • This callback should always be defined, since this function holds the main purpose of the Renderer class. All rendering logic is supposed to reside inside this function. You should use room.extrapolate function inside this callback with ignoreMultipleCalls=true for smooth movement of objects. This callback is used internally by the game engine inside window.requestAnimationFrame callback.

      Returns void

      void.