@masatomakino/threejs-drag-watcher
    Preparing search index...

    Interface DragWatcherInitOption

    DragWatcherの初期化オプション

    interface DragWatcherInitOption {
        throttlingTime_ms?: number;
        viewport?: { area: Vector4; canvasRect: Vector2 };
    }
    Index

    Properties

    throttlingTime_ms?: number

    ドラッグイベントの間引き間隔を設定します。単位はミリ秒です。

    viewport?: { area: Vector4; canvasRect: Vector2 }

    Viewportの設定を行います。 areaとcanvasRectはセットで設定する必要があります。

    Type declaration

    • area: Vector4
    • canvasRect: Vector2

      Viewportが描画されるキャンバスの範囲を示す矩形です。