Model loading · function
readBlend
A .blend as a glTF document, refusing it whole when any part of it needs evaluating.
Explained in Importing models.
function readBlend(bytes: Uint8Array, decompress?: BlendDecompress): Promise<BlendGltf>import { readBlend } from '@driftengine/assets';Parameters
| Parameter | Type | Description |
|---|---|---|
bytes | Uint8Array | |
decompress? | BlendDecompress |