GetBlendShapeIndex(string)
Returns the index of the blend shape with the given name, or -1 if it does not exist.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int GetBlendShapeIndex(string blendShapeName)
Parameters
The name of the blend shape.
Returns
Type | Description |
|---|---|
| int | The index of the blend shape (0-based), or -1 if not found. |
Remarks
Throws an exception if the name is null or empty.