Browse Source

Added isDisposed()

jeff Palmer 10 năm trước cách đây
mục cha
commit
303c9495d8
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      Babylon/Mesh/babylon.geometry.ts

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

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