@blooper.gg/toodle / textures/types / TextureBundleOpts
Type Alias: TextureBundleOpts
TextureBundleOpts =
object
Defined in: textures/types.ts:92
Bundle options for registering multiple individual textures
Properties
autoLoad?
optional
autoLoad:boolean
Defined in: textures/types.ts:109
Whether the bundle should be loaded automatically on registration
cropTransparentPixels?
optional
cropTransparentPixels:boolean
Defined in: textures/types.ts:105
Whether the image should be cropped down to the minimal bounding box for non-transparent pixels.
See Transparent Pixel Cropping for more information.
textures
textures:
Record
<string
,URL
>
Defined in: textures/types.ts:98
A record of texture ids and URLs. ids must be unique within a bundle