MeshData
此内容尚不支持你的语言。
Defined in: asset/meshFormat.ts:59
The .esmesh read/write door. Public because writing one is what an importer
does — a glTF cook, a plugin’s own format — and reading one has to agree with
it exactly. @beta.
Properties
Section titled “Properties”aabbMax
Section titled “aabbMax”aabbMax: [
number,number,number]
Defined in: asset/meshFormat.ts:67
aabbMin
Section titled “aabbMin”aabbMin: [
number,number,number]
Defined in: asset/meshFormat.ts:66
channels
Section titled “channels”channels:
MeshChannelDesc[]
Defined in: asset/meshFormat.ts:60
indices
Section titled “indices”indices:
Uint32Array
Defined in: asset/meshFormat.ts:65
inverseBindMatrices?
Section titled “inverseBindMatrices?”
optionalinverseBindMatrices?:Float32Array<ArrayBufferLike>
Defined in: asset/meshFormat.ts:74
The bind pose, one 4x4 per joint, in the order the Joints channel indexes.
It lives with the vertices because those indices point AT it — split apart,
a file’s indices would name something it does not carry. Absent for
geometry that is not skinned.
vertexCount
Section titled “vertexCount”vertexCount:
number
Defined in: asset/meshFormat.ts:62
vertexStride
Section titled “vertexStride”vertexStride:
number
Defined in: asset/meshFormat.ts:61
vertices
Section titled “vertices”vertices:
Uint8Array
Defined in: asset/meshFormat.ts:64
Interleaved vertex bytes, vertexCount * vertexStride long.