Beispiel #1
0
        public static void AddHideTimeline(AnimationData animationData, ArmatureData armatureData)
        {
            List <BoneData> boneDataList = armatureData.BoneDataList;
            int             i            = boneDataList.Count;

            BoneData boneData;
            string   boneName;

            while (i-- > 0)
            {
                boneData = boneDataList[i];
                boneName = boneData.Name;
                if (animationData.GetTimeline(boneName) == null)
                {
                    animationData.AddTimeline(TransformTimeline.HIDE_TIMELINE, boneName);
                }
            }
        }