コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public void GetModels( )
 {
     this.umodels = new UniFBXModel();
     this.umodels.Init(this.setting);
 }