Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

readModelBounds

readModelBounds(name): { max: readonly number[]; min: readonly number[]; } | undefined

The box the manifest measured the model registered under name at, in its file’s own space, or undefined where it has none: its width, depth and centre, where readModelSize holds its height alone.

Parameter Type
name string

{ max: readonly number[]; min: readonly number[]; } | undefined