mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
30 lines (29 loc) • 1.25 kB
TypeScript
import StaticObjectManager from "../display/core/StaticObjectManager";
import IAnimatedObjectManager from "./IAnimatedObjectManager";
import IPositioned from "./IPositioned";
import Defaults from "./utils/Defaults";
import { ExtractProps } from "./utils/extractProps";
import Nullable from "./utils/Nullable";
export type OnIntersectValue = (target: StaticObjectManager) => void;
export default interface ISimpleObjectManager extends IAnimatedObjectManager, IPositioned {
onIntersect: Nullable<OnIntersectValue>;
onIntersectOut: Nullable<OnIntersectValue>;
onMoveToEnd: Nullable<() => void>;
moveTo: Function | Array<any>;
lerpTo: Function | Array<any>;
placeAt: Function | Array<any>;
translateX: Function | Array<any>;
translateY: Function | Array<any>;
translateZ: Function | Array<any>;
intersectIds: Nullable<Array<string>>;
scaleX: number;
scaleY: number;
scaleZ: number;
scale: number;
rotationX: number;
rotationY: number;
rotationZ: number;
rotation: number;
}
export declare const simpleObjectManagerSchema: Required<ExtractProps<ISimpleObjectManager>>;
export declare const simpleObjectManagerDefaults: Defaults<ISimpleObjectManager>;