コード例 #1
0
		public void LoadFromLibraryBulk(ref SplinatedMeshLibraryMaker SLM){
			SLM.LoadToSMM(this);
//			bNeedsUpdate = true;
		}
コード例 #2
0
		public string ConvertToString(){
			SplinatedMeshLibraryMaker SLM = new SplinatedMeshLibraryMaker();
			SLM.Setup(this);
			return GSDRootUtil.GetString<SplinatedMeshLibraryMaker>(SLM);
		}
コード例 #3
0
		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);
		}