How to use the ARDebug function from three

Find comprehensive JavaScript three.ARDebug code examples handpicked from public code repositorys.

42
43
44
45
46
47
48
49
50
51
        THREE.ARUtils.displayUnsupportedMessage()
    }
})

function init() {
    var arDebug = new THREE.ARDebug(vrDisplay)
    document.body.appendChild(arDebug.getElement())

    renderer = new THREE.WebGLRenderer({ alpha: true })
    renderer.setPixelRatio(window.devicePixelRatio)
fork icon0
star icon0
watch icon1

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)