dacha
    Preparing search index...

    Class RendererAPI

    API that provides rendering utilities and view management

    Offers methods for view intersection testing, bounds calculation, and direct access to the underlying PIXI.js application

    Index
    • Adds a post-processing effect that applies to the entire scene. Effects are applied in the order they are added.

      Parameters

      Returns void

    • Clears all active filter effects.

      Returns void

    • Returns the bounds of an actor If the actor has several views, the bounds will be the smallest rectangle that contains all views

      Parameters

      • actor: Actor

        Actor to get the bounds of

      Returns Bounds | null

      Bounds of the actor or null if the actor has no available views

    • Returns the underlying PIXI.js application

      Returns Application

      PIXI.js application instance

    • Returns the actors that intersect with a point

      Parameters

      • x: number

        X coordinate of the point in scene coordinates

      • y: number

        Y coordinate of the point in scene coordinates

      Returns Actor[]

      Actors that intersect with the point

    • Returns the actors that intersect with a rectangle All coordinates should be passed in scene coordinates

      Parameters

      • minX: number

        X coordinate of the minimum point

      • minY: number

        Y coordinate of the minimum point

      • maxX: number

        X coordinate of the maximum point

      • maxY: number

        Y coordinate of the maximum point

      Returns Actor[]

      Actors that intersect with the rectangle

    • Reloads shader classes registered in the renderer.

      Parameters

      Returns void

    • Removes a filter effect by config object reference.

      Parameters

      Returns void