Format
typescript
Mesh.boneWeightsclass: 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_name | type | description |
|---|
Return
| type | description |
|---|---|
BoneWeight[] |
Code Example
typescript
let mesh = Resources.Load<Mesh>(Mesh, "meshId");
mesh.bonesWeights;