| Parameter | Description |
|---|---|
| shapeIndex | The index of the blend shape. |
| frameWeight | The weight of the new frame. |
| vertices | The array of blend shape vertices for the frame. |
int The index of the newly created frame (0-based).
Adds a frame to the specified blend shape and returns the index of the newly created frame.
You can only add frames to the most recently created blend shape. You must add frames in increasing weight order for blend shapes that have multiple frames.