MeshChannel
constMeshChannel: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.
Type Declaration
Section titled “Type Declaration”
readonlyColor:1=1
Joints
Section titled “Joints”
readonlyJoints:5=5
Which joints move this vertex — indices into the mesh’s own bind matrices.
Normal
Section titled “Normal”
readonlyNormal:3=3
Position
Section titled “Position”
readonlyPosition:0=0
Tangent
Section titled “Tangent”
readonlyTangent:4=4
TexCoord0
Section titled “TexCoord0”
readonlyTexCoord0:2=2
Weights
Section titled “Weights”
readonlyWeights:6=6
How much each of those four joints moves it.