Matrix Engine Api Documentation - v2.0.0
    Preparing search index...

    Variable MobileDOMConst

    MobileDOM: {
        _wasd: any;
        eventCancel: any;
        eventDown: any;
        eventUp: any;
        addButton(
            label: any,
            onClick: any,
            onRelease?: () => void,
            options?: {},
            onMove?: () => void,
        ): HTMLDivElement;
        addProgressBar(
            options?: {},
        ): HTMLDivElement & { setValue: (percent: any) => void };
        addSlider(onChange?: (v: any) => void, options?: {}): HTMLInputElement;
        createWASD(camera: any, options?: {}): HTMLDivElement;
        destroyWASD(): void;
    } = ...

    Type Declaration

    • _wasd: any
    • eventCancel: any
    • eventDown: any
    • eventUp: any
    • addButton: function
      • Parameters

        • label: any
        • onClick: any
        • onRelease: () => void = ...
        • options: {} = {}
        • onMove: () => void = ...

        Returns HTMLDivElement

    • addProgressBar: function
      • Parameters

        • options: {} = {}

        Returns HTMLDivElement & { setValue: (percent: any) => void }

    • addSlider: function
      • Parameters

        • onChange: (v: any) => void = ...
        • options: {} = {}

        Returns HTMLInputElement

    • createWASD: function
      • Parameters

        • camera: any
        • options: {} = {}

        Returns HTMLDivElement

    • destroyWASD: function