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); }
public static BCA CallBCAWriter(ref NitroFile animationFile, ModelBase model, BMDImporter.BCAImportationOptions bcaImportationOptions, bool save = true) { AbstractModelWriter bcaWriter = new BCAWriter(model, ref animationFile, bcaImportationOptions); bcaWriter.WriteModel(save); return(new BCA(animationFile)); }
public static BCA ConvertAnimatedDAEToBCA(ref NitroFile animationFile, string fileName, BMDImporter.BCAImportationOptions bcaImportationOptions, bool save = true) { ModelBase loadedModel = new DAELoader(fileName).LoadModel(); BCA importedAnimation = CallBCAWriter(ref animationFile, loadedModel, bcaImportationOptions, save); return(importedAnimation); }