API (v2.0.0) - Giro3D
    Preparing search index...

    Interface FirstPersonControlsOptions

    interface FirstPersonControlsOptions {
        disableEventListeners: boolean;
        focusOnClick: boolean;
        focusOnMouseOver: boolean;
        maxHeight?: number;
        minHeight?: number;
        moveSpeed: number;
        panoramaRatio?: number;
        verticalFOV: number;
    }
    Index

    Properties

    disableEventListeners: boolean

    if true, the controls will not self listen to mouse/key events. You'll have to manually forward the events to the appropriate functions: onMouseDown, onMouseMove, onMouseUp, onKeyUp, onKeyDown and onMouseWheel.

    focusOnClick: boolean
    focusOnMouseOver: boolean

    whether or not to focus when the mouse is over the domElement

    maxHeight?: number

    the maximal height of the instance camera

    minHeight?: number

    the minimal height of the instance camera

    moveSpeed: number

    if > 0, pressing the arrow keys will move the camera

    panoramaRatio?: number

    alternative way to specify the max vertical angle when using a panorama. You can specify the panorama width/height ratio and the verticalFOV will be computed automatically

    verticalFOV: number

    define the max visible vertical angle of the scene in degrees

    180