Version: 2018.4
public void AddBlendShapeFrame (string shapeName, float frameWeight, Vector3[] deltaVertices, Vector3[] deltaNormals, Vector3[] deltaTangents);

パラメーター

shapeNameフレームを追加するブレンドシェイプの名前
frameWeight追加されるフレームの重み
deltaVertices追加されるフレームの頂点の差分
deltaNormals追加されるフレームの法線の差分
deltaTangents追加されるフレームの接線の差分

説明

新しいブレンドシェイプのフレームを追加します

If blend shape name does not exist, then a new blend shape is created. Blend shape frames can only be added to a new bland shape, or the last blend shape. Usually there will be a single frame for a blend shape, but the range of blending [0-100%] may be split into multiple frames. Weight is assumed to be 100% when a shape only has one frame. Frame must be added in an increasing weight order for blend shapes having multiple frames. deltaVetrices, deltaNormals and deltaTangents arrays must be of size = Mesh.vertexCount. Substract Mesh vertices, normals or tangents to convert from frame full vectors to get deltas. deltaNormals or deltaTangents may be set to null if there are no normals or tangents for a frame.