기술 자료

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분최근 업데이트: 한 달 전

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.