pixi.js
    Preparing search index...

    Class AlphaMaskAdvanced

    AlphaMask is an effect that applies a mask to a container using the alpha channel of a sprite. It can be used to create complex masking effects by using a sprite as the mask. The mask can be inverted, and it can render the mask to a texture if the mask is not a sprite.

    Implements

    Index

    Constructors

    Properties

    inverse: boolean = false
    mask: Container
    pipe: string = 'alphaMask'
    priority: number = 0
    renderMaskToTexture: boolean
    extension: ExtensionMetadata = ExtensionType.MaskEffect

    Methods

    • Parameters

      • bounds: Bounds
      • OptionalskipUpdateTransform: boolean

      Returns void

    • Parameters

      Returns void

    • Returns void

    • Parameters

      • mask: any

      Returns boolean