public void LoadFromLibraryBulk(ref SplinatedMeshLibraryMaker SLM){ SLM.LoadToSMM(this); // bNeedsUpdate = true; }
public string ConvertToString(){ SplinatedMeshLibraryMaker SLM = new SplinatedMeshLibraryMaker(); SLM.Setup(this); return GSDRootUtil.GetString<SplinatedMeshLibraryMaker>(SLM); }
public void SaveToLibrary(string fName = "", bool bIsDefault = false){ SplinatedMeshLibraryMaker SLM = new SplinatedMeshLibraryMaker(); SLM.Setup(this); GSDRootUtil.Dir_GetLibrary_CheckSpecialDirs(); string xPath = GSDRootUtil.Dir_GetLibrary(); string tPath = xPath + "ESO" + tName + ".gsd"; if(fName.Length > 0){ if(bIsDefault){ tPath = xPath + "Q/ESO" + fName + ".gsd"; }else{ tPath = xPath + "ESO" + fName + ".gsd"; } } GSDRootUtil.CreateXML<SplinatedMeshLibraryMaker>(ref tPath,SLM); }