소스 검색

Change Mesh default layerMask, such that special cameras can be built
that cannot see those meshes which default.

jeff Palmer 10 년 전
부모
커밋
58b9f4c046
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Babylon/Mesh/babylon.abstractMesh.ts

+ 1 - 1
Babylon/Mesh/babylon.abstractMesh.ts

@@ -63,7 +63,7 @@
         public useOctreeForPicking = true;
         public useOctreeForCollisions = true;
 
-        public layerMask: number = 0xFFFFFFFF;
+        public layerMask: number = 0x0FFFFFFF;
 
         // Physics
         public _physicImpostor = PhysicsEngine.NoImpostor;