Model loading · function

readBlendSurface

Read one material's surface.

Explained in Importing models.

function readBlendSurface(material: BlendStruct, version: number): BlendSurface
import { readBlendSurface } from '@driftengine/assets';

Parameters

ParameterTypeDescription
materialBlendStruct
versionnumber