Model loading · interface

SlotNeeds

What a material slot asks of the geometry that wears it.

Explained in Importing models.

interface SlotNeeds
import type { SlotNeeds } from '@driftengine/assets';

Properties

NameTypeDescription
vertexColorreadonlystring | nullWhich colour attribute to carry as COLOR_0: a name, '' for the render one, or null.
uvMapreadonlystring | nullWhich UV map to carry as TEXCOORD_0, by name, or null for the render map.
uvTransformreadonlyreadonly number[] | nullA 3x3 affine transform applied to that map in Blender's UV space, or null.