Skip to content
Shapemetry

@huukhanhnguyen/types / objects/image

objects/image

Image

Image = { anchors: Point[]; image: string; }

Raster image rectangle: a url string plus its placement anchors.

anchors

anchors: Point[]

image

image: string


ImageData

ImageData = { images: ImageEntity[]; }

Object-tier image datablock.

images

images: ImageEntity[]


ImageEntity

ImageEntity = Image & { attributes?: Record<string, unknown> | null; }

One image of an image object.


ImageInstance

ImageInstance = BaseInstance & { material?: string; }


ImageObject

ImageObject = BaseObject & { data: ImageData; instances: ImageInstance[]; type: "image"; }

An object whose data is images and nothing else.

A raster placed in the scene is not a mesh (no topology) and not a hatch (not a UV pattern of drawn content).

Last updated: 📖 1 min readEdit on GitHub