WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface ViewPannedEventArgs

    视图平移事件参数

    interface ViewPannedEventArgs {
        timestamp: number;
        customData?: any;
        previousLookPt: Point2D;
        currentLookPt: Point2D;
        offset: Point2D;
    }

    Hierarchy (View Summary)

    Index

    Properties

    timestamp: number

    事件发生的时间戳

    customData?: any

    自定义数据,二次开发者可以附加额外信息

    previousLookPt: Point2D

    平移前的视点

    currentLookPt: Point2D

    平移后的视点

    offset: Point2D

    平移偏移量