Skip to content

Format

typescript
Mesh.boneWeights

class: Mesh

Description

The weight information of the mesh vertices associated with bones.

Bone weights describe which bones influence each vertex and the corresponding weight values.

Parameters

param_nametypedescription

Return

typedescription
BoneWeight[]

Code Example

typescript
let mesh = Resources.Load<Mesh>(Mesh, "meshId");
mesh.bonesWeights;