bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Interface InitBabylonJSResult

    interface InitBabylonJSResult {
        scene: Scene;
        engine: Engine;
        hemisphericLight: HemisphericLight;
        directionalLight: DirectionalLight;
        ground: any;
        arcRotateCamera: any;
        startRenderLoop: (onRender?: () => void) => void;
        dispose: () => void;
    }
    Index

    Properties

    scene: Scene

    The BabylonJS scene

    engine: Engine

    The BabylonJS engine

    hemisphericLight: HemisphericLight

    The hemispheric light

    directionalLight: DirectionalLight

    The directional light (for shadows)

    ground: any

    The ground mesh (if enabled)

    arcRotateCamera: any

    The arc rotate camera (if enabled)

    startRenderLoop: (onRender?: () => void) => void

    Start the render loop

    dispose: () => void

    Cleanup function to remove resize listener and dispose resources