소스 검색

Exposed texture in domes

David Catuhe 7 년 전
부모
커밋
f979b3bd75
4개의 변경된 파일8781개의 추가작업 그리고 8767개의 파일을 삭제
  1. 4106 4106
      Playground/babylon.d.txt
  2. 4661 4661
      dist/preview release/babylon.d.ts
  3. 7 0
      src/Helpers/babylon.photoDome.ts
  4. 7 0
      src/Helpers/babylon.videoDome.ts

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4106 - 4106
Playground/babylon.d.txt


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4661 - 4661
dist/preview release/babylon.d.ts


+ 7 - 0
src/Helpers/babylon.photoDome.ts

@@ -13,6 +13,13 @@ module BABYLON {
         protected _photoTexture: Texture;
 
         /**
+         * Gets the texture being displayed on the sphere
+         */
+        public get photoTexture(): Texture {
+            return this._photoTexture;
+        }        
+
+        /**
          * The skybox material
          */
         protected _material: BackgroundMaterial;

+ 7 - 0
src/Helpers/babylon.videoDome.ts

@@ -13,6 +13,13 @@ module BABYLON {
         protected _videoTexture: VideoTexture;
 
         /**
+         * Gets the video texture being displayed on the sphere
+         */
+        public get videoTexture(): VideoTexture {
+            return this._videoTexture;
+        }
+
+        /**
          * The skybox material
          */
         protected _material: BackgroundMaterial;