blob: 2d8e5b387dc88588921ccfa49dd14db58009900c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<script src=webxr_util.js></script>
<script>
'use strict';
let definedObjects = [];
let undefinedObjects = [];
forEachWebxrObject((obj, name) => {
if(obj == undefined) {
undefinedObjects.push(name);
} else {
definedObjects.push(name);
}
});
window.parent.postMessage({ undefinedObjects, definedObjects}, '*');
</script>
|