Skip to main content

xrmeshfound

Description

This event is emitted by xrweb when a mesh is first found either after start or after a recenter().

xrmeshfound.detail : { id, position, rotation, bufferGeometry }

PropertyDescription
idAn id for this mesh that is stable within a session
position: {x, y, z}The 3d position of the located mesh.
rotation: {w, x, y, z}The 3d local orientation (quaternion) of the located mesh.
bufferGeometry:A THREE.BufferGeometry mesh.