ドキュメント

Unity Engine

Unity Engine

GetBlendShapeFrame(int, int, NativeArray<SpriteBlendShapeVertex>)

Retrieves the vertices of the given blend shape frame and copies them into the provided array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void GetBlendShapeFrame(int shapeIndex, int frameIndex, NativeArray<SpriteBlendShapeVertex> outVertices)

Parameters

shapeIndex

The index of the blend shape.

frameIndex

The index of the frame within the blend shape.

The array in which to store the blend shape frame vertices.

Remarks

You must allocate the
outVertices
array with the correct size.