Skip to content

SheetFrameSource

Defined in: renderer/src/spritesheet.ts:116

A sprite sheet sliced on a uniform grid. Without count/columns it reads the single top row (a horizontal strip); count extends the slice across rows, wrapping every columns frames. Offsets and gaps follow TextureSliceOptions.

optional columns?: number

Defined in: renderer/src/public-types.ts:140

TextureSliceOptions.columns


optional count?: number

Defined in: renderer/src/public-types.ts:141

TextureSliceOptions.count


optional frameHeight?: number

Defined in: renderer/src/public-types.ts:137

TextureSliceOptions.frameHeight


frameWidth: number

Defined in: renderer/src/public-types.ts:136

TextureSliceOptions.frameWidth


optional gapX?: number

Defined in: renderer/src/public-types.ts:142

TextureSliceOptions.gapX


optional gapY?: number

Defined in: renderer/src/public-types.ts:143

TextureSliceOptions.gapY


sheet: string

Defined in: renderer/src/spritesheet.ts:117


optional startX?: number

Defined in: renderer/src/public-types.ts:138

TextureSliceOptions.startX


optional startY?: number

Defined in: renderer/src/public-types.ts:139

TextureSliceOptions.startY