コード例 #1
0
        internal void Export(dynamic script, string directory)
        {
            PmxModel.FinalizeModel(VmdSequence.MorphFrameDict.Values.Select(t => t.frame));
            VmdSequence.FinalizeKeyFrame(PmxModel.ModelData.MorphArray);

            ExportEvent?.Invoke(this, new ExportEventArgs(Path.Combine(directory, ExportFileName + ".pmx"), Path.Combine(directory, ExportFileName + ".vmd"))
            {
                Script = script
            });
        }
コード例 #2
0
        internal void Export()
        {
            EntityList.ForEach(e => e.OnDeath());

            PmxModel.FinalizeModel();
            KeyFrames.Finish();

            KeyFrames.Export();
            PmxModel.Export();

            OnExport(EventArgs.Empty);
        }