Model loading · function

packedImage

The bytes a packed image holds, or null where it lives in a file beside the .blend.

Explained in Importing models.

function packedImage(image: BlendStruct): Uint8Array | null
import { packedImage } from '@driftengine/assets';

Parameters

ParameterTypeDescription
imageBlendStruct