@twinfinity/core
    Preparing search index...

    Class OutlineApplier

    OutlineApplier applies the outline on top of the screen blit

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    _postProcess: undefined | PostProcess = undefined

    Accessors

    • get affectedCameras(): Set<Camera>

      Returns a set of all the cameras this post-process effect is attached to.

      Returns Set<Camera>

    Methods

    • Runs the initialize method if the post-process has not yet been initialized. Then attaches the post-process effect to the specified camera.

      Parameters

      • camera: Camera

        The camera to attach the post-process effect to.

      Returns boolean

      true if the post-process effect was successfully attached to the camera, otherwise false.

    • Disables the post-process effect for the specified camera.

      Parameters

      • camera: Camera

        The camera to detach the post-process effect from.

      Returns boolean

      true if the post-process effect was successfully detached from the camera, otherwise false.

    • Method for initializing this post-process effect before it gets attached to a camera. This gets called automatically from attach.

      Parameters

      • camera: Camera

        BabylonJS camera variable.

      Returns PostProcess