コード例 #1
0
        public static void ExportModelToDAE(ModelBase model, string fileName)
        {
            AbstractModelWriter daeWriter = new DAEWriter(model, fileName);

            daeWriter.WriteModel();
        }
コード例 #2
0
ファイル: BMDImporter.cs プロジェクト: arahkari/SM64DSe
        public static BCA ConvertICAToBCA(ref NitroFile animationFile, string fileName, ModelBase loadedModel, float scale,
                                          BMDExtraImportOptions extraOptions, BMDImporter.BCAImportationOptions bcaImportationOptions, bool save = true)
        {
            ModelBase animatedModel = new NITROIntermediateCharacterAnimationLoader(loadedModel, fileName).LoadModel(scale);

            BCA importedAnimation = CallBCAWriter(ref animationFile, animatedModel, bcaImportationOptions, save);

            return(importedAnimation);
        }
コード例 #3
0
        public static void ExportModelToOBJ(ModelBase model, string fileName)
        {
            AbstractModelWriter objWriter = new OBJWriter(model, fileName);

            objWriter.WriteModel();
        }
コード例 #4
0
ファイル: BMDImporter.cs プロジェクト: arahkari/SM64DSe
 public static BCA ConvertICAToBCA(ref NitroFile animationFile, string fileName, ModelBase loadedModel, bool save = true)
 {
     return(ConvertICAToBCA(ref animationFile, fileName, loadedModel, 1f,
                            BMDExtraImportOptions.DEFAULT, BCAImportationOptions.DEFAULT, save));
 }