Built interface
A built device: its group, centred on its bounds, and its size at rest in screen heights.
import type { Built } from '@dioramajs/model/device'interface BuiltMembers
| Name | Type | Description |
|---|---|---|
readonly aspect | number | Width over height of the screen, which the picture covers. |
readonly base | boolean | The laptop stands on its base: its shadow is a band under it, not its whole outline. |
readonly corner | number | |
readonly depth | number | |
readonly group | Group | |
readonly height | number | |
readonly points | readonly Vector3[] | Corners of the bounds of its parts around its centre, for a fit tighter than its box. |
readonly width | number |
Defined in packages/model/src/device.ts.