unityでｆｂｘを読んでみる。 その２

#概要

unityでfbxを読んでみた。
Humanoidリグとして、読む物と読まない物がある。
調べてみた。

#環境　

unity5.2.5f1

#読む物のヒエラルキー

```
mixamorig:Hips
	 mixamorig:Spine
	 	 mixamorig:Spine1
	 	 	 mixamorig:Spine2
	 	 	 	 mixamorig:Neck
	 	 	 	 	 mixamorig:Head
	 	 	 	 	 	 mixamorig:HeadTop_End
	 	 	 	 	 	 mixamorig:LeftEye
	 	 	 	 	 	 mixamorig:RightEye
	 	 	 	 mixamorig:LeftShoulder
	 	 	 	 	 mixamorig:LeftArm
	 	 	 	 	 	 mixamorig:LeftForeArm
	 	 	 	 	 	 	 mixamorig:LeftHand
	 	 	 	 	 	 	 	 mixamorig:LeftHandMiddle1
	 	 	 	 	 	 	 	 	 mixamorig:LeftHandMiddle2
	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandMiddle3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandMiddle4
	 	 	 	 	 	 	 	 mixamorig:LeftHandThumb1
	 	 	 	 	 	 	 	 	 mixamorig:LeftHandThumb2
	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandThumb3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandThumb4
	 	 	 	 	 	 	 	 mixamorig:LeftHandIndex1
	 	 	 	 	 	 	 	 	 mixamorig:LeftHandIndex2
	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandIndex3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandIndex4
	 	 	 	 	 	 	 	 mixamorig:LeftHandRing1
	 	 	 	 	 	 	 	 	 mixamorig:LeftHandRing2
	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandRing3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandRing4
	 	 	 	 	 	 	 	 mixamorig:LeftHandPinky1
	 	 	 	 	 	 	 	 	 mixamorig:LeftHandPinky2
	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandPinky3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:LeftHandPinky4
	 	 	 	 mixamorig:RightShoulder
	 	 	 	 	 mixamorig:RightArm
	 	 	 	 	 	 mixamorig:RightForeArm
	 	 	 	 	 	 	 mixamorig:RightHand
	 	 	 	 	 	 	 	 mixamorig:RightHandMiddle1
	 	 	 	 	 	 	 	 	 mixamorig:RightHandMiddle2
	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandMiddle3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandMiddle4
	 	 	 	 	 	 	 	 mixamorig:RightHandThumb1
	 	 	 	 	 	 	 	 	 mixamorig:RightHandThumb2
	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandThumb3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandThumb4
	 	 	 	 	 	 	 	 mixamorig:RightHandIndex1
	 	 	 	 	 	 	 	 	 mixamorig:RightHandIndex2
	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandIndex3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandIndex4
	 	 	 	 	 	 	 	 mixamorig:RightHandRing1
	 	 	 	 	 	 	 	 	 mixamorig:RightHandRing2
	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandRing3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandRing4
	 	 	 	 	 	 	 	 mixamorig:RightHandPinky1
	 	 	 	 	 	 	 	 	 mixamorig:RightHandPinky2
	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandPinky3
	 	 	 	 	 	 	 	 	 	 	 mixamorig:RightHandPinky4
	 mixamorig:RightUpLeg
	 	 mixamorig:RightLeg
	 	 	 mixamorig:RightFoot
	 	 	 	 mixamorig:RightToeBase
	 	 	 	 	 mixamorig:RightToe_End
	 mixamorig:LeftUpLeg
	 	 mixamorig:LeftLeg
	 	 	 mixamorig:LeftFoot
	 	 	 	 mixamorig:LeftToeBase
	 	 	 	 	 mixamorig:LeftToe_End
```

```
	 root
	 	 spine05
	 	 	 spine04
	 	 	 	 spine03
	 	 	 	 	 spine02
	 	 	 	 	 	 breast.L
	 	 	 	 	 	 	 breast.L_end
	 	 	 	 	 	 breast.R
	 	 	 	 	 	 	 breast.R_end
	 	 	 	 	 	 spine01
	 	 	 	 	 	 	 clavicle.L
	 	 	 	 	 	 	 	 shoulder01.L
	 	 	 	 	 	 	 	 	 upperarm01.L
	 	 	 	 	 	 	 	 	 	 upperarm02.L
	 	 	 	 	 	 	 	 	 	 	 lowerarm01.L
	 	 	 	 	 	 	 	 	 	 	 	 lowerarm02.L
	 	 	 	 	 	 	 	 	 	 	 	 	 wrist.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger1-1.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger1-2.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger1-3.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger1-3.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 metacarpal1.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger2-1.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger2-2.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger2-3.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger2-3.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 metacarpal2.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger3-1.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger3-2.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger3-3.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger3-3.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 metacarpal3.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger4-1.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger4-2.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger4-3.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger4-3.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 metacarpal4.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger5-1.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger5-2.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger5-3.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger5-3.L_end
	 	 	 	 	 	 	 clavicle.R
	 	 	 	 	 	 	 	 shoulder01.R
	 	 	 	 	 	 	 	 	 upperarm01.R
	 	 	 	 	 	 	 	 	 	 upperarm02.R
	 	 	 	 	 	 	 	 	 	 	 lowerarm01.R
	 	 	 	 	 	 	 	 	 	 	 	 lowerarm02.R
	 	 	 	 	 	 	 	 	 	 	 	 	 wrist.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger1-1.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger1-2.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger1-3.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger1-3.R_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 metacarpal1.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger2-1.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger2-2.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger2-3.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger2-3.R_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 metacarpal2.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger3-1.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger3-2.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger3-3.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger3-3.R_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 metacarpal3.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger4-1.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger4-2.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger4-3.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger4-3.R_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 metacarpal4.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger5-1.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger5-2.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger5-3.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 finger5-3.R_end
	 	 	 	 	 	 	 neck01
	 	 	 	 	 	 	 	 neck02
	 	 	 	 	 	 	 	 	 neck03
	 	 	 	 	 	 	 	 	 	 head
	 	 	 	 	 	 	 	 	 	 	 jaw
	 	 	 	 	 	 	 	 	 	 	 	 special04
	 	 	 	 	 	 	 	 	 	 	 	 	 oris02
	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris01
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris01_end
	 	 	 	 	 	 	 	 	 	 	 	 	 oris06.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris07.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris07.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 oris06.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris07.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris07.R_end
	 	 	 	 	 	 	 	 	 	 	 	 tongue00
	 	 	 	 	 	 	 	 	 	 	 	 	 tongue01
	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue02
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue03
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue04
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue04_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue07.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue07.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue07.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue07.R_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue06.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue06.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue06.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue06.R_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue05.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue05.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue05.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 tongue05.R_end
	 	 	 	 	 	 	 	 	 	 	 levator02.L
	 	 	 	 	 	 	 	 	 	 	 	 levator03.L
	 	 	 	 	 	 	 	 	 	 	 	 	 levator04.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 levator05.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 levator05.L_end
	 	 	 	 	 	 	 	 	 	 	 levator02.R
	 	 	 	 	 	 	 	 	 	 	 	 levator03.R
	 	 	 	 	 	 	 	 	 	 	 	 	 levator04.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 levator05.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 levator05.R_end
	 	 	 	 	 	 	 	 	 	 	 special01
	 	 	 	 	 	 	 	 	 	 	 	 oris04.L
	 	 	 	 	 	 	 	 	 	 	 	 	 oris03.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris03.L_end
	 	 	 	 	 	 	 	 	 	 	 	 oris04.R
	 	 	 	 	 	 	 	 	 	 	 	 	 oris03.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris03.R_end
	 	 	 	 	 	 	 	 	 	 	 	 oris06
	 	 	 	 	 	 	 	 	 	 	 	 	 oris05
	 	 	 	 	 	 	 	 	 	 	 	 	 	 oris05_end
	 	 	 	 	 	 	 	 	 	 	 special03
	 	 	 	 	 	 	 	 	 	 	 	 levator06.L
	 	 	 	 	 	 	 	 	 	 	 	 	 levator06.L_end
	 	 	 	 	 	 	 	 	 	 	 	 levator06.R
	 	 	 	 	 	 	 	 	 	 	 	 	 levator06.R_end
	 	 	 	 	 	 	 	 	 	 	 special06.L
	 	 	 	 	 	 	 	 	 	 	 	 special05.L
	 	 	 	 	 	 	 	 	 	 	 	 	 eye.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 eye.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 orbicularis03.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 orbicularis03.L_end
	 	 	 	 	 	 	 	 	 	 	 	 	 orbicularis04.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 orbicularis04.L_end
	 	 	 	 	 	 	 	 	 	 	 special06.R
	 	 	 	 	 	 	 	 	 	 	 	 special05.R
	 	 	 	 	 	 	 	 	 	 	 	 	 eye.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 eye.R_end
	 	 	 	 	 	 	 	 	 	 	 	 	 orbicularis03.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 orbicularis03.R_end
	 	 	 	 	 	 	 	 	 	 	 	 	 orbicularis04.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 orbicularis04.R_end
	 	 	 	 	 	 	 	 	 	 	 temporalis01.L
	 	 	 	 	 	 	 	 	 	 	 	 oculi02.L
	 	 	 	 	 	 	 	 	 	 	 	 	 oculi01.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 oculi01.L_end
	 	 	 	 	 	 	 	 	 	 	 temporalis01.R
	 	 	 	 	 	 	 	 	 	 	 	 oculi02.R
	 	 	 	 	 	 	 	 	 	 	 	 	 oculi01.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 oculi01.R_end
	 	 	 	 	 	 	 	 	 	 	 temporalis02.L
	 	 	 	 	 	 	 	 	 	 	 	 risorius02.L
	 	 	 	 	 	 	 	 	 	 	 	 	 risorius03.L
	 	 	 	 	 	 	 	 	 	 	 	 	 	 risorius03.L_end
	 	 	 	 	 	 	 	 	 	 	 temporalis02.R
	 	 	 	 	 	 	 	 	 	 	 	 risorius02.R
	 	 	 	 	 	 	 	 	 	 	 	 	 risorius03.R
	 	 	 	 	 	 	 	 	 	 	 	 	 	 risorius03.R_end
	 	 pelvis.L
	 	 	 upperleg01.L
	 	 	 	 upperleg02.L
	 	 	 	 	 lowerleg01.L
	 	 	 	 	 	 lowerleg02.L
	 	 	 	 	 	 	 foot.L
	 	 	 	 	 	 	 	 toe1-1.L
	 	 	 	 	 	 	 	 	 toe1-2.L
	 	 	 	 	 	 	 	 	 	 toe1-2.L_end
	 	 	 	 	 	 	 	 toe2-1.L
	 	 	 	 	 	 	 	 	 toe2-2.L
	 	 	 	 	 	 	 	 	 	 toe2-3.L
	 	 	 	 	 	 	 	 	 	 	 toe2-3.L_end
	 	 	 	 	 	 	 	 toe3-1.L
	 	 	 	 	 	 	 	 	 toe3-2.L
	 	 	 	 	 	 	 	 	 	 toe3-3.L
	 	 	 	 	 	 	 	 	 	 	 toe3-3.L_end
	 	 	 	 	 	 	 	 toe4-1.L
	 	 	 	 	 	 	 	 	 toe4-2.L
	 	 	 	 	 	 	 	 	 	 toe4-3.L
	 	 	 	 	 	 	 	 	 	 	 toe4-3.L_end
	 	 	 	 	 	 	 	 toe5-1.L
	 	 	 	 	 	 	 	 	 toe5-2.L
	 	 	 	 	 	 	 	 	 	 toe5-3.L
	 	 	 	 	 	 	 	 	 	 	 toe5-3.L_end
	 	 pelvis.R
	 	 	 upperleg01.R
	 	 	 	 upperleg02.R
	 	 	 	 	 lowerleg01.R
	 	 	 	 	 	 lowerleg02.R
	 	 	 	 	 	 	 foot.R
	 	 	 	 	 	 	 	 toe1-1.R
	 	 	 	 	 	 	 	 	 toe1-2.R
	 	 	 	 	 	 	 	 	 	 toe1-2.R_end
	 	 	 	 	 	 	 	 toe2-1.R
	 	 	 	 	 	 	 	 	 toe2-2.R
	 	 	 	 	 	 	 	 	 	 toe2-3.R
	 	 	 	 	 	 	 	 	 	 	 toe2-3.R_end
	 	 	 	 	 	 	 	 toe3-1.R
	 	 	 	 	 	 	 	 	 toe3-2.R
	 	 	 	 	 	 	 	 	 	 toe3-3.R
	 	 	 	 	 	 	 	 	 	 	 toe3-3.R_end
	 	 	 	 	 	 	 	 toe4-1.R
	 	 	 	 	 	 	 	 	 toe4-2.R
	 	 	 	 	 	 	 	 	 	 toe4-3.R
	 	 	 	 	 	 	 	 	 	 	 toe4-3.R_end
	 	 	 	 	 	 	 	 toe5-1.R
	 	 	 	 	 	 	 	 	 toe5-2.R
	 	 	 	 	 	 	 	 	 	 toe5-3.R
	 	 	 	 	 	 	 	 	 	 	 toe5-3.R_end
```

#読まない物のヒエラルキー

```
RootNode
	 Hips
	 	 Hips_bunki1
	 	 	 Chest
	 	 	 	 Chest_bunki1
	 	 	 	 	 Neck
	 	 	 	 	 	 Head
	 	 	 	 	 	 	 Site_4
	 	 	 	 Chest_bunki2
	 	 	 	 	 LeftCollar
	 	 	 	 	 	 LeftUpArm
	 	 	 	 	 	 	 LeftLowArm
	 	 	 	 	 	 	 	 LeftHand
	 	 	 	 	 	 	 	 	 Site_3
	 	 	 	 Chest_bunki0
	 	 	 	 	 RightCollar
	 	 	 	 	 	 RightUpArm
	 	 	 	 	 	 	 RightLowArm
	 	 	 	 	 	 	 	 RightHand
	 	 	 	 	 	 	 	 	 Site_2
	 	 Hips_bunki2
	 	 	 LeftUpLeg
	 	 	 	 LeftLowLeg
	 	 	 	 	 LeftFoot
	 	 	 	 	 	 Site_1
	 	 Hips_bunki0
	 	 	 RightUpLeg
	 	 	 	 RightLowLeg
	 	 	 	 	 RightFoot
	 	 	 	 	 	 Site_0
```

#必要なヒエラルキー

```
Hips - Upper Leg - Lower Leg - Foot - Toes

Hips - Spine - Chest - Neck - Head

               Chest - Shoulder - Arm - Forearm - Hand

                                                  Hand - Proximal - Intermediate - Distal
```

#考察
たぶん、指のボーンが足りないのだと、思う。

以上。