# BlendWeight

> The values that describe how much influence bones have on a vertex in skinning calculations.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/6000.5/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
BlendWeight = 12
```

### Remarks

This attribute is optional. Up to four weights can be included in the vertex stream.

Blend weights are commonly represented using floats.

This attribute corresponds to the `BLENDWEIGHTS` semantic in the HLSL shading language.

You can set blend weights for vertices using methods such as [Mesh.SetBoneWeights](/engine/6000.5/script-reference/unityengine/mesh/setboneweights.md).

For more information, refer to [mesh vertex data](/engine/6000.5/manual/assets-and-media/asset-types/mesh/get-started-with-meshes/anatomyofa/vertex-data.md).
