@tawaship/pixi-animate-runtime - v0.1.0
    Preparing search index...

    Interface ITextureSource

    Where a content's images come from: manifest images by id, and frames of its sprite sheets (the images published code draws from a frame for a bitmap fill).

    interface ITextureSource {
        frame(sheet: string, index: number): Texture | null;
        frameAsset(sheet: string, index: number): IImageAsset | null;
        image(id: string): Texture | null;
        imageAsset(id: string): IImageAsset | null;
    }

    Implemented by

    Index
    • Parameters

      • sheet: string
      • index: number

      Returns Texture | null

    • Parameters

      • sheet: string
      • index: number

      Returns IImageAsset | null

    • Parameters

      • id: string

      Returns Texture | null

    • Parameters

      • id: string

      Returns IImageAsset | null