The 2D layer · function
spriteRun
Read a run back. For tests and diagnostics; the pass reads runs directly.
Explained in Sprites and tilemaps.
function spriteRun(batch: SpriteBatch, index: number): SpriteRunimport { spriteRun } from '@driftengine/ui2d';Parameters
| Parameter | Type | Description |
|---|---|---|
batch | SpriteBatch | |
index | number |