示例#1
0
        private void OnActorPinned(TargetService.ActorTableActor actor)
        {
            MenuItem item = Export.AddSubItem(actor.DisplayName);

            item.AddSubItem("Appearance", null, () => this.ExportAppearance(actor));
            item.AddSubItem("Pose", null, () => this.ExportPose(actor));
        }
示例#2
0
        private async void ExportPose(TargetService.ActorTableActor actor)
        {
            ActorViewModel?actorVm = actor.GetViewModel();

            if (actorVm == null)
            {
                return;
            }

            SkeletonVisual3d skeletonVm = await PoseService.GetVisual(actorVm);

            await PoseFile.Save(actorVm, skeletonVm);
        }
示例#3
0
 public Entry(TargetService.ActorTableActor actor)
 {
     this.SceneActor = new SceneFile.SceneActor();
     this.TableActor = actor;
 }
示例#4
0
 private async void ExportAppearance(TargetService.ActorTableActor actor)
 {
     await CharacterFile.Save(actor.GetViewModel());
 }