mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
50 lines • 1.46 kB
JavaScript
import { animatedObjectManagerDefaults, animatedObjectManagerSchema } from "./IAnimatedObjectManager";
import { positionedDefaults, positionedSchema } from "./IPositioned";
import fn from "./utils/fn";
import { hideSchema } from "./utils/nonEditorSchemaSet";
export const simpleObjectManagerSchema = {
...animatedObjectManagerSchema,
...positionedSchema,
onIntersect: Function,
onIntersectOut: Function,
onMoveToEnd: Function,
moveTo: [Function, Array],
lerpTo: [Function, Array],
placeAt: [Function, Array],
translateX: [Function, Array],
translateY: [Function, Array],
translateZ: [Function, Array],
intersectIds: Array,
scaleX: Number,
scaleY: Number,
scaleZ: Number,
scale: Number,
rotationX: Number,
rotationY: Number,
rotationZ: Number,
rotation: Number
};
hideSchema(["intersectIds", "moveTo", "lerpTo"]);
export const simpleObjectManagerDefaults = {
...animatedObjectManagerDefaults,
...positionedDefaults,
onIntersect: undefined,
onIntersectOut: undefined,
onMoveToEnd: undefined,
moveTo: fn,
lerpTo: fn,
placeAt: fn,
translateX: fn,
translateY: fn,
translateZ: fn,
intersectIds: undefined,
scaleX: 1,
scaleY: 1,
scaleZ: 1,
scale: 1,
rotationX: 0,
rotationY: 0,
rotationZ: 0,
rotation: 0
};
//# sourceMappingURL=ISimpleObjectManager.js.map