@inweb/viewer-visualize
    Preparing search index...

    Interface PanEvent

    Event that fires when camera panning.

    interface PanEvent {
        dX: number;
        dY: number;
        type: "pan";
        x: number;
        y: number;
    }
    Index

    Properties

    Properties

    dX: number

    The X coordinate delta of the mouse pointer relative to the position of the last Pan event.

    dY: number

    The Y coordinate delta of the mouse pointer relative to the position of the last Pan event.

    type: "pan"

    Event type.

    x: number

    The X coordinate of the mouse pointer in screen coordinates.

    y: number

    The Y coordinate of the mouse pointer in screen coordinates.