跳转到内容

MeshChannelDesc

此内容尚不支持你的语言。

Defined in: sdk/src/asset/meshFormat.ts:103

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.

components: number

Defined in: sdk/src/asset/meshFormat.ts:107

1..4.


offset: number

Defined in: sdk/src/asset/meshFormat.ts:111

Byte offset of this channel within one vertex.


semantic: number

Defined in: sdk/src/asset/meshFormat.ts:105

One of MeshChannel; also the attribute location.


type: number

Defined in: sdk/src/asset/meshFormat.ts:109

One of MeshChannelType.