remove arfirst webui app
This commit is contained in:
parent
54a96de9ea
commit
ac9ba8db23
2 changed files with 0 additions and 35 deletions
|
|
@ -1,24 +0,0 @@
|
|||
if( !janus.arfirst ){
|
||||
|
||||
janus.arfirst = true // only run once
|
||||
|
||||
var startXR = janus.engine.client.startXR
|
||||
var loadRoomAssets = room.loadRoomAssets
|
||||
var client = janus.engine.client
|
||||
|
||||
function room2AR(room){
|
||||
if( client.xrsession && client.xrsession.mode == 'immersive-ar' ){
|
||||
window.room.localasset.visible = false
|
||||
window.room.skybox = false
|
||||
}
|
||||
}
|
||||
|
||||
client.startXR = function(mode,opts){
|
||||
if( !mode ) mode = 'immersive-ar'
|
||||
startXR.apply(client, [mode,opts])
|
||||
room2AR()
|
||||
}
|
||||
|
||||
elation.events.add(this.janusweb, 'room_load_processed', (ev) => room2AR() )
|
||||
}
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"apps": {
|
||||
},
|
||||
"templates": {
|
||||
},
|
||||
"scripts": [
|
||||
"./arfirst.js"
|
||||
],
|
||||
"css": [],
|
||||
"components": []
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue