locar
    Preparing search index...

    Interface BasicAppOptions

    Basic options to pass into the App object, excluding options specific to configuring three.js. If you already have three.js camera, scene and renderer objects set up (e.g. via react-three-fiber), you can just pass in BasicAppOptions to App.

    interface BasicAppOptions {
        deviceOrientationOptions?: DeviceOrientationControlsOptions & {
            enabled: boolean;
        };
        gpsOptions?: GpsOptions;
        projection?: Projection;
        serverLogger?: ServerLogger;
        threeObjects?: ThreeObjects;
        videoConstraints?: { video: { facingMode: string } };
    }

    Hierarchy (View Summary)

    Index
    deviceOrientationOptions?: DeviceOrientationControlsOptions & {
        enabled: boolean;
    }

    Device orientation options for DeviceOrientationControls

    gpsOptions?: GpsOptions

    GPS options, see GpsOptions documentation for details

    projection?: Projection

    Projection to use (default: SphMercProjection)

    serverLogger?: ServerLogger

    Server logger to use - ensure you gain consent from the user if you are doing this, it's usually a Data Protection legal requirement

    threeObjects?: ThreeObjects

    Existing three.js objects, set up elsewhere - e.g. react-three-fiber

    videoConstraints?: { video: { facingMode: string } }

    Video constraints for Media Devices API