The .drft container · interface

DrftMorph

One mesh's morph deltas, and which mesh they belong to.

Explained in The .drft container.

interface DrftMorph
import type { DrftMorph } from '@driftengine/drft';

Properties

NameTypeDescription
meshreadonlynumberThe ordinal of the mesh these deform.
targetCountreadonlynumber
deltasreadonlyFloat32ArrayThree floats a vertex per target, interleaved by vertex. See MeshData.morphTargets.