跳转到内容

MeshChannel

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

const MeshChannel: object

Defined in: asset/meshFormat.ts:28

What a channel means. The value IS the shader attribute location, and the first three match the 2D batch layout, so one attribute vocabulary serves both vertex sources. Append only: these numbers are serialized.

readonly Color: 1 = 1

readonly Joints: 5 = 5

Which joints move this vertex — indices into the mesh’s own bind matrices.

readonly Normal: 3 = 3

readonly Position: 0 = 0

readonly Tangent: 4 = 4

readonly TexCoord0: 2 = 2

readonly Weights: 6 = 6

How much each of those four joints moves it.