The 2D layer · const
SLICE_STRIDE
Floats per placement: x, y, w, h, u0, v0, u1, v1.
Explained in Sprites and tilemaps.
const SLICE_STRIDE = 8import { SLICE_STRIDE } from '@driftengine/ui2d';The 2D layer · const
Floats per placement: x, y, w, h, u0, v0, u1, v1.
Explained in Sprites and tilemaps.
const SLICE_STRIDE = 8import { SLICE_STRIDE } from '@driftengine/ui2d';