Norska lets you interact with any Object3D that has a raycast, using the same events as in the DOM.
Object3D
<div x-3.mesh @click="() => console.log('click')" @contextMenu="() => console.log('context menu')" @dblClick="() => console.log('double click')" @wheel="() => console.log('wheel spins')" @pointerUp="() => console.log('up')" @pointerDown="() => console.log('down')" @pointerOver="() => console.log('over')" @pointerIn="() => console.log('in')" @pointerOut="() => console.log('out'" @pointerMove="() => console.log('move')" > <!-- ... --> </div>
Last updated 8 months ago