MuscleFromBone(int, int)
Obtain the muscle index for a particular bone index and "degree of freedom".
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public static int MuscleFromBone(int i, int dofIndex)
Parameters
Returns
Type | Description |
|---|---|
| int |
Remarks
The indexing order of the bones is the same as that of the HumanTrait.BoneName array.
Additional Resources: HumanTrait.BoneName, HumanTrait.BoneCount, HumanTrait.MuscleName, HumanTrait.MuscleCount.