UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

29 lines (27 loc) 879 B
import { ObjectEditor } from "../../../../../editor/ecs/component/editors/primitive/ObjectEditor.js"; import { BitFlagsEditor } from "../../../../../editor/ecs/component/editors/common/BitFlagsEditor.js"; import { MeshFlags } from "./Mesh.js"; export class MeshEditor extends ObjectEditor { get schema() { return { properties: { bvh: { transient: true }, asset: { transient: true }, boundingBox: { transient: true }, flags: { editor: new BitFlagsEditor(MeshFlags), transient: true }, center: { deprecated: true } } }; } }