Skip to main content

xrmeshupdated

Description

This event is emitted by xrweb when the first mesh found changes position or rotation.

xrmeshupdated.detail : { id, position, rotation }

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.