gameforge - v0.1.12
    Preparing search index...

    Variable matrixAppendRotationInv

    matrixAppendRotationInv: (
        matrix: Matrix,
        rotation: number,
        tx?: number,
        ty?: number,
    ) => void

    Helps sprite to compensate texture packer rotation.

    Type Declaration

      • (matrix: Matrix, rotation: number, tx?: number, ty?: number): void
      • Parameters

        • matrix: Matrix

          sprite world matrix

        • rotation: number

          The rotation factor to use.

        • Optionaltx: number

          sprite anchoring

        • Optionalty: number

          sprite anchoring

        Returns void