Model loading · function

recognise

What this file actually is, when it is something with no reader here.

Explained in Importing models.

function recognise(bytes: Uint8Array): Recognised | null
import { recognise } from '@driftengine/assets';

Parameters

ParameterTypeDescription
bytesUint8Array

In depth

Returns null for anything readable, including a file whose extension is misleading — the caller then carries on and lets the real reader have it.