@pixi/3d
    Preparing search index...

    Function packParticleFrames

    • Advanced

      Packs each flipbook frame's window on its sheet, (u0, v0, uScale, vScale), as the four unorm16 values a particle's aParticleUVFrame holds

      A single frame needs no window and gets an empty array. Rotated frames aren't supported.

      Parameters

      Returns Uint16Array

      Four values per frame, or an empty array for a single frame

      If the frames don't all share one TextureSource.