| Parameter | Description |
|---|---|
| index | The index of the blend shape with the weight you want to get. Index must be smaller than the Sprite.blendShapeCount of the sprite attached to this renderer. |
float The weight of the blend shape.
Gets the weight of a blend shape for this renderer.
The weight of a blend shape represents how much the sprite has been blended (or morphed) from its original shape to a target blend shape. The target blend shape is another sprite containing the same topology, but with different vertex positions than the original.
The blend shape weight range includes values between the minimum and the maximum weights defined in the sprite.
Additional resources: SetBlendShapeWeight.