You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -15906,25 +15904,42 @@ declare var URLSearchParams: {
15906
15904
15907
15905
/** This WebVR API interface represents any VR device supported by this API. It includes generic information such as device IDs and descriptions, as well as methods for starting to present a VR scene, retrieving eye parameters and display capabilities, and other important functionality. */
@@ -15934,10 +15949,15 @@ declare var VRDisplay: {
15934
15949
15935
15950
/** This WebVR API interface describes the capabilities of a VRDisplay — its features can be used to perform VR device capability tests, for example can it return position information. */
15936
15951
interface VRDisplayCapabilities {
15952
+
/** @deprecated */
15937
15953
readonly canPresent: boolean;
15954
+
/** @deprecated */
15938
15955
readonly hasExternalDisplay: boolean;
15956
+
/** @deprecated */
15939
15957
readonly hasOrientation: boolean;
15958
+
/** @deprecated */
15940
15959
readonly hasPosition: boolean;
15960
+
/** @deprecated */
15941
15961
readonly maxLayers: number;
15942
15962
}
15943
15963
@@ -15948,7 +15968,9 @@ declare var VRDisplayCapabilities: {
15948
15968
15949
15969
/** This WebVR API interface represents represents the event object of WebVR-related events (see the list of WebVR window extensions). */
15950
15970
interface VRDisplayEvent extends Event {
15971
+
/** @deprecated */
15951
15972
readonly display: VRDisplay;
15973
+
/** @deprecated */
15952
15974
readonly reason: VRDisplayEventReason | null;
15953
15975
}
15954
15976
@@ -15961,8 +15983,11 @@ declare var VRDisplayEvent: {
15961
15983
interface VREyeParameters {
15962
15984
/** @deprecated */
15963
15985
readonly fieldOfView: VRFieldOfView;
15986
+
/** @deprecated */
15964
15987
readonly offset: Float32Array;
15988
+
/** @deprecated */
15965
15989
readonly renderHeight: number;
15990
+
/** @deprecated */
15966
15991
readonly renderWidth: number;
15967
15992
}
15968
15993
@@ -15973,9 +15998,13 @@ declare var VREyeParameters: {
15973
15998
15974
15999
/** This WebVR API interface represents a field of view defined by 4 different degree values describing the view from a center point. */
15975
16000
interface VRFieldOfView {
16001
+
/** @deprecated */
15976
16002
readonly downDegrees: number;
16003
+
/** @deprecated */
15977
16004
readonly leftDegrees: number;
16005
+
/** @deprecated */
15978
16006
readonly rightDegrees: number;
16007
+
/** @deprecated */
15979
16008
readonly upDegrees: number;
15980
16009
}
15981
16010
@@ -15986,11 +16015,17 @@ declare var VRFieldOfView: {
15986
16015
15987
16016
/** This WebVR API interface represents all the information needed to render a single frame of a VR scene; constructed by VRDisplay.getFrameData(). */
15988
16017
interface VRFrameData {
16018
+
/** @deprecated */
15989
16019
readonly leftProjectionMatrix: Float32Array;
16020
+
/** @deprecated */
15990
16021
readonly leftViewMatrix: Float32Array;
16022
+
/** @deprecated */
15991
16023
readonly pose: VRPose;
16024
+
/** @deprecated */
15992
16025
readonly rightProjectionMatrix: Float32Array;
16026
+
/** @deprecated */
15993
16027
readonly rightViewMatrix: Float32Array;
16028
+
/** @deprecated */
15994
16029
readonly timestamp: number;
15995
16030
}
15996
16031
@@ -16001,20 +16036,39 @@ declare var VRFrameData: {
16001
16036
16002
16037
/** This WebVR API interface represents the state of a VR sensor at a given timestamp (which includes orientation, position, velocity, and acceleration information.) */
0 commit comments