From 407bc9539b66fbcbaebea54bdb3fae3b85879485 Mon Sep 17 00:00:00 2001 From: pfcDorn Date: Wed, 13 Mar 2024 08:31:09 +0100 Subject: [PATCH] added support for meta avatar --- Editor/Scripts/Internal/AvatarUtils.cs | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Editor/Scripts/Internal/AvatarUtils.cs b/Editor/Scripts/Internal/AvatarUtils.cs index d147a5224..e81a32231 100644 --- a/Editor/Scripts/Internal/AvatarUtils.cs +++ b/Editor/Scripts/Internal/AvatarUtils.cs @@ -135,6 +135,33 @@ internal class AvatarUtils { "rightFoot", "RightFoot" }, { "rightToes", "RightToes" }, // { "toesR_end", "" }, + + // Meta Avatar + {"Hips_jnt", "Hips"}, + {"SpineLower_jnt", "Spine"}, + {"SpineMiddle_jnt", "Chest"}, + {"Chest_jnt", "UpperChest"}, + {"Neck_jnt", "Neck"}, + {"Head_jnt", "Head"}, + {"Jaw_jnt", "Jaw"}, + {"LeftEye_jnt", "LeftEye"}, + {"RightEye_jnt", "RightEye"}, + {"LeftShoulder_jnt", "LeftShoulder"}, + {"LeftArmUpper_jnt", "LeftUpperArm"}, + {"LeftArmLower_jnt", "LeftLowerArm"}, + {"LeftHandWrist_jnt", "LeftHand"}, + {"RightShoulder_jnt", "RightShoulder"}, + {"RightArmUpper_jnt", "RightUpperArm"}, + {"RightArmLower_jnt", "RightLowerArm"}, + {"RightHandWrist_jnt", "RightHand"}, + {"LeftLegUpper_jnt", "LeftUpperLeg"}, + {"LeftLegLower_jnt", "LeftLowerLeg"}, + {"LeftFootBall_jnt", "LeftFoot"}, + {"LeftFootToe_jnt", "LeftToes"}, + {"RightLegUpper_jnt", "RightUpperLeg"}, + {"RightLegLower_jnt", "RightLowerLeg"}, + {"RightFootBall_jnt", "RightFoot"}, + {"RightFootToe_jnt", "RightToes"} };