Model loading · interface

BlendPrimitive

Explained in Importing models.

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

Properties

NameTypeDescription
slotreadonlynumberThe material slot, or -1 where the object has none.
positionsreadonlyFloat32Array
normalsreadonlyFloat32Array
uvsreadonlyFloat32Array | null
colorsreadonlyFloat32Array | null
indicesreadonlyUint32Array
sourceVertexreadonlyInt32ArrayThe source vertex each exported vertex came from, for shape keys and weights.
sourceCornerreadonlyInt32ArrayThe source corner each exported vertex first came from, for per-corner shape normals.