lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
10 lines (9 loc) • 550 B
TypeScript
import Appendable from "../display/core/Appendable";
import MeshAppendable from "../display/core/MeshAppendable";
type Event = {
target?: Appendable | MeshAppendable;
noDeselect?: boolean;
};
declare const onSelectionTarget: (cb: (val: Event) => void, once?: boolean | undefined) => import("@lincode/promiselikes").Cancellable;
export { onSelectionTarget };
export declare const emitSelectionTarget: (target: Appendable | MeshAppendable<import("three").Object3D<import("three").Event>> | undefined, noDeselect?: boolean | undefined) => void;