Explorar o código

Exposed texture in domes

David Catuhe %!s(int64=7) %!d(string=hai) anos
pai
achega
f979b3bd75
Modificáronse 4 ficheiros con 8781 adicións e 8767 borrados
  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

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 4106 - 4106
Playground/babylon.d.txt


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 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;