Przeglądaj źródła

Added isDisposed()

jeff Palmer 10 lat temu
rodzic
commit
303c9495d8
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      Babylon/Mesh/babylon.geometry.ts

+ 4 - 0
Babylon/Mesh/babylon.geometry.ts

@@ -351,6 +351,10 @@
             }, () => { }, scene.database);
             }, () => { }, scene.database);
         }
         }
 
 
+        public isDisposed(): boolean {
+            return this._isDisposed;
+        }
+
         public dispose(): void {
         public dispose(): void {
             var meshes = this._meshes;
             var meshes = this._meshes;
             var numOfMeshes = meshes.length;
             var numOfMeshes = meshes.length;