Model loading · function

findEntry

The first entry whose name matches, or null. Case-insensitive, since archives disagree.

Explained in Importing models.

function findEntry(entries: readonly ZipEntry[], match: RegExp): ZipEntry | null
import { findEntry } from '@driftengine/assets';

Parameters

ParameterTypeDescription
entriesreadonly ZipEntry[]
matchRegExp