|
@@ -393,7 +393,7 @@ class ViewportFullscreenHelper
|
393
|
393
|
}
|
394
|
394
|
|
395
|
395
|
/**
|
396
|
|
- * Is the fullscreen mode available?
|
|
396
|
+ * Is the fullscreen mode available in this platform?
|
397
|
397
|
* @returns true if the fullscreen mode is available in this platform
|
398
|
398
|
*/
|
399
|
399
|
isAvailable(): boolean
|
|
@@ -826,6 +826,14 @@ export class Viewport extends ViewportEventTarget
|
826
|
826
|
}
|
827
|
827
|
|
828
|
828
|
/**
|
|
829
|
+ * Is the fullscreen mode available in this platform?
|
|
830
|
+ */
|
|
831
|
+ get fullscreenAvailable(): boolean
|
|
832
|
+ {
|
|
833
|
+ return this._fullscreen.isAvailable();
|
|
834
|
+ }
|
|
835
|
+
|
|
836
|
+ /**
|
829
|
837
|
* The canvas on which the virtual scene will be drawn
|
830
|
838
|
*/
|
831
|
839
|
get canvas(): HTMLCanvasElement
|
|
@@ -879,15 +887,6 @@ export class Viewport extends ViewportEventTarget
|
879
|
887
|
}
|
880
|
888
|
|
881
|
889
|
/**
|
882
|
|
- * Is the fullscreen mode available?
|
883
|
|
- * @returns true if the fullscreen mode is available in this platform
|
884
|
|
- */
|
885
|
|
- isFullscreenAvailable(): boolean
|
886
|
|
- {
|
887
|
|
- return this._fullscreen.isAvailable();
|
888
|
|
- }
|
889
|
|
-
|
890
|
|
- /**
|
891
|
890
|
* Initialize the viewport (when the session starts)
|
892
|
891
|
* @internal
|
893
|
892
|
*/
|