Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBlendShapeFrame(int, int, NativeArray<SpriteBlendShapeVertex>)

Retrieves the vertices of the given blend shape frame and copies them into the provided array.
Read time 1 minuteLast updated 6 days ago

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.