예제 #1
0
        public void StopActiveAnimations(Model anim_model)
        {
            AnimComponent   ac      = anim_model.Components[anim_model.animComponentID] as AnimComponent;
            List <AnimData> ad_list = ac.getActiveAnimations();

            foreach (AnimData ad in ad_list)
            {
                ad.IsPlaying = false;
            }
        }
예제 #2
0
        public void StopActiveLoopAnimations(Model anim_model)
        {
            AnimComponent   ac      = anim_model.Components[anim_model.animComponentID] as AnimComponent;
            List <AnimData> ad_list = ac.getActiveAnimations();

            foreach (AnimData ad in ad_list)
            {
                if (ad.AnimType == libMBIN.NMS.Toolkit.TkAnimationData.AnimTypeEnum.Loop)
                {
                    ad.IsPlaying = false;
                }
            }
        }