UNPKG

lingo3d

Version:

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

6 lines (5 loc) 590 B
import MeshAppendable from "../../display/core/MeshAppendable"; import { SystemOptions } from "./createInternalSystem"; export declare const createLoadedEffectSystem: <GameObject extends MeshAppendable<import("three").Object3D<import("three").Event>>, Data extends void | Record<string, any>>(name: string, { data, effect, cleanup }: Pick<SystemOptions<GameObject, Data>, "data" | "effect" | "cleanup">) => { add: ((item: GameObject, initData?: Data | undefined) => false | import("@lincode/promiselikes").Cancellable) | ((item: GameObject, initData?: Data | undefined) => boolean); };