A specialized canvas group for rendering hidden containers before all others (like masks).

Hierarchy

  • any
    • HiddenCanvasGroup

Properties

masks: Container = ...

The container which hold masks.

groupName: string = "hidden"

Methods

  • Add a mask to this group.

    Parameters

    • name: string

      Name of the mask.

    • displayObject: DisplayObject

      Display object to add.

    • Optional position: number

      Position of the mask.

    Returns void

  • Invalidate the masks: flag them for rerendering.

    Returns void

  • Parameters

    • options: any

    Returns Promise<void>

    Inherit Doc

  • Parameters

    • options: any

    Returns Promise<void>

    Inherit Doc

  • Perform necessary draw operations.

    Returns Promise<void>

  • Attach masks container to this canvas layer and create tile occlusion, vision masks and depth mask.

    Returns void