public CreateBlendShapeFrame ( BlendShape blendshape, float weight, string undoName ) : BlendShapeFrame | ||
blendshape | BlendShape | |
weight | float | |
undoName | string | |
리턴 | BlendShapeFrame |
void CreateBlendshape() { if (spriteMeshCache) { BlendShape blendShape = spriteMeshCache.CreateBlendshape("New BlendShape", "Create BlendShape"); spriteMeshCache.selectedBlendshape = blendShape; spriteMeshCache.CreateBlendShapeFrame(blendShape, 100f, "Create BlendShape"); spriteMeshCache.blendShapeWeight = 100f; } }