The 2D layer · function

resetSpriteBatch

Explained in Sprites and tilemaps.

function resetSpriteBatch(batch: SpriteBatch): void
import { resetSpriteBatch } from '@driftengine/ui2d';

Parameters

ParameterTypeDescription
batchSpriteBatch