瀏覽代碼

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;