@dioramajs/model/model
Exports of @dioramajs/model/model.
import { default, steps, twin } from '@dioramajs/model/model'Functions
steps | Key times of a clip whose every track steps from key to key, like a ticking hand, sorted. Undefined if any track blends between keys: then every frame shows something new. |
twin | A node material owned by the instance with the same look as a glTF one: textures stay shared with the cache, colours and vectors are copied. Undefined for kinds glTF lines and points use. |
untilKey | Seconds from clip time `at` to the next key, through the end of the loop. |
Constants
default | A glTF fitted to the element's box: turntable, tilt, drag, clips and part colours. |