sej
    Preparing search index...

    Type Alias Sej

    Base type for all parts of the library. Useful if you want to create your own SejEngine.

    type Sej = {
        container: HTMLElement;
        editor: Editor;
        keyboardControls: KeyboardControls;
        renderer: Renderer;
        viewport: Viewport;
        viewportControls: ViewportControls;
    }
    Index

    Properties

    container: HTMLElement

    The canvas where the renderer draws its output.

    editor: Editor

    The Editor is the meat of the application. It holds the scene, the camera, the signals, the loader manager, the selector, the debugger and the config.

    keyboardControls: KeyboardControls

    The KeyboardControls captures keyboard inputs. Any type of logic can be implemented on top of this.

    renderer: Renderer

    The renderer is class that handles the rendering of the scene. This is a low-level class that features the actual rendering logic.

    viewport: Viewport

    The viewport is class that handles the rendering of the scene. It's a high-level abstraction of the Renderer.

    viewportControls: ViewportControls

    The ViewportControls controls an object in the viewport. It's usually the camera.