@shopware-ag/dive
Version:
Shopware Spatial Framework
15 lines (12 loc) • 312 B
text/typescript
/**
* Interface for objects that can be hovered in the scene.
*
* @module
*/
import { type Intersection } from 'three';
export interface DIVEHoverable {
isHoverable: true;
onPointerEnter?: (i: Intersection) => void;
onPointerOver?: (i: Intersection) => void;
onPointerLeave?: () => void;
}