AtlasEntry
Defined in: sdk/src/render/textureAtlas.ts:16
Where one source texture sits on an atlas.
Properties
Section titled “Properties”height
Section titled “height”height:
number
Defined in: sdk/src/render/textureAtlas.ts:22
uvOffset
Section titled “uvOffset”uvOffset:
object
Defined in: sdk/src/render/textureAtlas.ts:24
What Sprite.uvOffset takes to show exactly this entry.
x:
number
y:
number
uvScale
Section titled “uvScale”uvScale:
object
Defined in: sdk/src/render/textureAtlas.ts:26
What Sprite.uvScale takes to show exactly this entry.
x:
number
y:
number
width:
number
Defined in: sdk/src/render/textureAtlas.ts:21
x:
number
Defined in: sdk/src/render/textureAtlas.ts:18
Left edge in atlas pixels.
y:
number
Defined in: sdk/src/render/textureAtlas.ts:20
Top edge in atlas pixels, counted from the top of the canvas.