Interface IEntityModuleBase

interface IEntityModuleBase {
    onAdd?: (() => any);
    onAppAddEntity?: ((obj) => any);
    onAppAfterRender?: ((time) => any);
    onAppAfterUpdate?: ((time) => any);
    onAppBeforeAddEntity?: ((obj) => any);
    onAppBeforeRemoveEntity?: ((ent) => any);
    onAppBeforeRemoveObject?: ((obj) => any);
    onAppBeforeRender?: ((time) => any);
    onAppBeforeUpdate?: ((time) => any);
    onAppRemoveEntity?: ((ent) => any);
    onAppRemoveObject?: ((obj) => any);
    onAppRender?: ((time) => any);
    onAppUpdate?: ((time) => any);
    onAwake?: ((app?) => any);
    onBeforeAdd?: (() => any);
    onBeforeRemove?: (() => any);
    onDestroy?: (() => any);
    onDisable?: (() => any);
    onEnable?: (() => any);
    onKeyDown?: ((event) => any);
    onKeyUp?: ((event) => any);
    onMouseClick?: ((event) => any);
    onMouseDblClick?: ((event) => any);
    onMouseDown?: ((event) => any);
    onMouseEnter?: ((event) => any);
    onMouseLeave?: ((event) => any);
    onMouseMove?: ((event) => any);
    onMouseOut?: ((event) => any);
    onMouseOver?: ((event) => any);
    onMouseUp?: ((event) => any);
    onMouseWheel?: ((event) => any);
    onPointerDown?: ((event) => any);
    onPointerMove?: ((event) => any);
    onPointerUp?: ((event) => any);
    onRayIntersect?: ((ray) => Intersection<Object3D<Object3DEventMap>>[]);
    onRemove?: (() => any);
    setupUiConfig?: (() => UiObjectConfig<any, string, any>);
}

Hierarchy (view full)

Implemented by

Properties

onAdd?: (() => any)

Type declaration

    • (): any
    • Returns any

onAppAddEntity?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      Returns any

onAppAfterRender?: ((time) => any)

Type declaration

    • (time): any
    • Parameters

      Returns any

onAppAfterUpdate?: ((time) => any)

Type declaration

    • (time): any
    • Parameters

      Returns any

onAppBeforeAddEntity?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      Returns any

onAppBeforeRemoveEntity?: ((ent) => any)

Type declaration

    • (ent): any
    • Parameters

      Returns any

onAppBeforeRemoveObject?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      • obj: Object3D<Object3DEventMap>

      Returns any

onAppBeforeRender?: ((time) => any)

Type declaration

    • (time): any
    • Parameters

      Returns any

onAppBeforeUpdate?: ((time) => any)

Type declaration

    • (time): any
    • Parameters

      Returns any

onAppRemoveEntity?: ((ent) => any)

Type declaration

    • (ent): any
    • Parameters

      Returns any

onAppRemoveObject?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      • obj: Object3D<Object3DEventMap>

      Returns any

onAppRender?: ((time) => any)

Type declaration

    • (time): any
    • Parameters

      Returns any

onAppUpdate?: ((time) => any)

Type declaration

    • (time): any
    • Parameters

      Returns any

onAwake?: ((app?) => any)

Type declaration

    • (app?): any
    • Parameters

      • Optional app: any

      Returns any

onBeforeAdd?: (() => any)

Type declaration

    • (): any
    • Returns any

onBeforeRemove?: (() => any)

Type declaration

    • (): any
    • Returns any

onDestroy?: (() => any)

Type declaration

    • (): any
    • Returns any

onDisable?: (() => any)

Type declaration

    • (): any
    • Returns any

onEnable?: (() => any)

Type declaration

    • (): any
    • Returns any

onKeyDown?: ((event) => any)

Type declaration

onKeyUp?: ((event) => any)

Type declaration

onMouseClick?: ((event) => any)

Type declaration

onMouseDblClick?: ((event) => any)

Type declaration

onMouseDown?: ((event) => any)

Type declaration

onMouseEnter?: ((event) => any)

Type declaration

onMouseLeave?: ((event) => any)

Type declaration

onMouseMove?: ((event) => any)

Type declaration

onMouseOut?: ((event) => any)

Type declaration

onMouseOver?: ((event) => any)

Type declaration

onMouseUp?: ((event) => any)

Type declaration

onMouseWheel?: ((event) => any)

Type declaration

onPointerDown?: ((event) => any)

Type declaration

onPointerMove?: ((event) => any)

Type declaration

onPointerUp?: ((event) => any)

Type declaration

onRayIntersect?: ((ray) => Intersection<Object3D<Object3DEventMap>>[])

Type declaration

    • (ray): Intersection<Object3D<Object3DEventMap>>[]
    • Parameters

      • ray: Raycaster

      Returns Intersection<Object3D<Object3DEventMap>>[]

onRemove?: (() => any)

Type declaration

    • (): any
    • Returns any

setupUiConfig?: (() => UiObjectConfig<any, string, any>)

Type declaration