Explorar o código

Add a mesh getter (#8524)

Popov72 %!s(int64=5) %!d(string=hai) anos
pai
achega
aeba9f4391
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      src/Helpers/videoDome.ts

+ 7 - 1
src/Helpers/videoDome.ts

@@ -55,9 +55,15 @@ export class VideoDome extends TransformNode {
     protected _material: BackgroundMaterial;
 
     /**
-     * The surface used for the skybox
+     * The surface used for the video dome
      */
     protected _mesh: Mesh;
+    /**
+     * Gets the mesh used for the video dome.
+     */
+    public get mesh(): Mesh {
+        return this._mesh;
+    }
 
     /**
      * A mesh that will be used to mask the back of the video dome in case it is a 180 degree movie.