Model loading · function

frameOf

The frame that fits every mesh given. A radius of zero for a point, rather than a NaN.

Explained in Importing models.

function frameOf(meshes: readonly MeshData[]): ViewFrame
import { frameOf } from '@driftengine/assets';

Parameters

ParameterTypeDescription
meshesreadonly MeshData[]