mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
webxr: Update XRView to latest spec (#33145)
* Add recommendedViewportScale and requestViewportScale Signed-off-by: Daniel Adams <msub2official@gmail.com> * Remove currently unused internal slots Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
parent
75b817cca3
commit
8e224cb4d3
7 changed files with 47 additions and 194 deletions
|
@ -14,7 +14,10 @@ enum XREye {
|
|||
interface XRView {
|
||||
readonly attribute XREye eye;
|
||||
readonly attribute Float32Array projectionMatrix;
|
||||
readonly attribute XRRigidTransform transform;
|
||||
[SameObject] readonly attribute XRRigidTransform transform;
|
||||
readonly attribute double? recommendedViewportScale;
|
||||
|
||||
undefined requestViewportScale(double? scale);
|
||||
|
||||
// AR Module
|
||||
readonly attribute boolean isFirstPersonObserver;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue