Skip to content

SheetFrameSource

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

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:138

TextureSliceOptions.columns


optional count?: number

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

TextureSliceOptions.count


optional frameHeight?: number

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

TextureSliceOptions.frameHeight


frameWidth: number

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

TextureSliceOptions.frameWidth


optional gapX?: number

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

TextureSliceOptions.gapX


optional gapY?: number

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

TextureSliceOptions.gapY


sheet: string

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


optional startX?: number

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

TextureSliceOptions.startX


optional startY?: number

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

TextureSliceOptions.startY