Skip to content

ExplorerTexture

Defined in: scene/types.ts:46

An image drawn on the canvas inside a disc or square item, cropped to its shape. The canvas can only use pixels it may read: serve it from the same origin or with CORS headers, or it is not drawn (and onTextureError says so). A cloud ignores it.

optional fit?: "cover" | "contain"

Defined in: scene/types.ts:50

cover (the default) fills the shape, cropping the image; contain fits the whole image inside.


url: string

Defined in: scene/types.ts:48

The image’s address: same origin, or a host that sends CORS headers.