protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { this.content = null; if (UniFBX.list != null) { UniFBX.list.Clear(); } if (UniFBX.meshes != null) { UniFBX.meshes.Clear(); } if (this.models != null) { this.models.Clear(); } if (this.materialProp70 != null) { this.materialProp70.Clear(); } if (this.uanimations != null) { this.uanimations.Finish(); } UniFBX.list = null; UniFBX.meshes = null; this.models = null; this.materialProp70 = null; this.ulayeredTextures = null; this.ugeometries1 = null; this.ugeometries2 = null; this.ugeometries3 = null; this.umodels = null; this.umaterials = null; this.utextures = null; this.ulayeredTextures = null; this.uanimations = null; this.ulights = null; this.ucameras = null; } } this.disposed = true; }
public void Dispose( ) { this.content = null; if (UniFBX.list != null) { UniFBX.list.Clear(); } if (UniFBX.meshes != null) { UniFBX.meshes.Clear(); } if (this.models != null) { this.models.Clear(); } if (this.materialProp70 != null) { this.materialProp70.Clear(); } if (this.uanimations != null) { this.uanimations.Finish(); } UniFBX.list = null; UniFBX.meshes = null; this.models = null; this.materialProp70 = null; this.ulayeredTextures = null; this.ugeometries1 = null; this.ugeometries2 = null; this.ugeometries3 = null; this.umodels = null; this.umaterials = null; this.utextures = null; this.ulayeredTextures = null; this.uanimations = null; this.ulights = null; this.ucameras = null; }
public void GetModels( ) { this.umodels = new UniFBXModel(); this.umodels.Init(this.setting); }