Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

var human: HumanBone[];
HumanBone[] human;
human as HumanBone[]

Description

Mapping between Mecanim bone names and bone names in the rig.

Each item in the array is a HumanBone object that contains a Mecanim avatar bone name, a bone name in the model (to which the Mecanim bone is mapped) and a "muscle" that specifies the bone's limits of motion. The bones can be listed in any order but there are a certain number of bones that Mecanim requires you to define; use HumanTrait.RequiredBone to get a list of all required bones.

See Also: HumanTrait.BoneName, HumanTrait.RequiredBone.