Skip to content

@bloopjs/toodle


@bloopjs/toodle / scene/JumboQuadNode / JumboTileOptions

Type Alias: JumboTileOptions

JumboTileOptions = object

Defined in: scene/JumboQuadNode.ts:16

Properties

atlasCoords?

optional atlasCoords: AtlasCoords

Defined in: scene/JumboQuadNode.ts:24

The coordinates of the tile in the texture atlas. If not provided, the size will be read from the loaded texture.


offset

offset: Vec2

Defined in: scene/JumboQuadNode.ts:20

The offset of this tile in texels from the top left of the full texture


size?

optional size: Size

Defined in: scene/JumboQuadNode.ts:22

The size of the tile in texels. If not provided, the size will be inferred from the texture atlas.


textureId

textureId: TextureId

Defined in: scene/JumboQuadNode.ts:18

Texture id of the tile