The 2D layer · function

createAffine2D

Explained in Sprites and tilemaps.

function createAffine2D(): Affine2D
import { createAffine2D } from '@driftengine/ui2d';