UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

17 lines (16 loc) 505 B
import { Object3D } from "three"; import type VisibleMixin from "../display/core/mixins/VisibleMixin"; import { Point3dType } from "../utils/isPoint"; type RaycastResult = { point: Point3dType; distance: number; normal: Point3dType; manager: VisibleMixin; }; type RaycastData = { x: number; y: number; additionalCandidate?: Object3D; }; export declare const mouseRaycast: (item: Set<Object3D<import("three").Event>>, data: RaycastData) => RaycastResult | undefined; export {};