lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
30 lines (29 loc) • 1.09 kB
TypeScript
import { ExtractProps } from "./utils/extractProps";
import IAppendable from "./IAppendable";
import Nullable from "./utils/Nullable";
export default interface IMeshAppendable extends IAppendable {
x: number;
y: number;
z: number;
rotationX: number;
rotationY: number;
rotationZ: number;
rotation: number;
onMove: Nullable<() => void>;
onMoveToEnd: Nullable<() => void>;
onLookToEnd: 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>;
rotateX: Function | Array<any>;
rotateY: Function | Array<any>;
rotateZ: Function | Array<any>;
setRotationFromDirection: Function | Array<any>;
lookAt: Function | Array<any>;
lookTo: Function | Array<any>;
}
export declare const meshAppendableSchema: Required<ExtractProps<IMeshAppendable>>;
export declare const meshAppendableDefaults: Partial<import("./utils/Defaults").default<IMeshAppendable>>;