Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBlendShapeIndex(string)

Returns index of BlendShape by given name.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int GetBlendShapeIndex(string blendShapeName)

Parameters

blendShapeName

Returns

Type

Description

int

Remarks

Returns -1 if no BlendShape named blendShapeName exists.