ドキュメント

Unity Engine

Unity Engine

AddBlendShape(string)

Adds a new blend shape to the sprite and returns the index of the newly created blend shape.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int AddBlendShape(string shapeName)

Parameters

shapeName

The name of the blend shape to add. Must be unique.

Returns

Type

Description

intThe index of the newly created blend shape (0-based).

Remarks

Throws an exception if a blend shape with the same name already exists or if the name is null or empty.