文档

Unity Engine

Unity Engine

BoneFromMuscle(int)

Return the bone to which a particular muscle is connected.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public static int BoneFromMuscle(int i)

Parameters

Muscle index.

Returns

Type

Description

int

Remarks

The bone and muscle indices used by this function are the same as those of the HumanTrait.BoneName and HumanTrait.MuscleName arrays respectively.