PilotGaea 3D O'view
    正在準備搜尋索引...

    匯出glb模型參數。

    interface ExportMeshToGlbParameter {
        nodeId?: string;
        polygon?: GeoPolygon;
        startHeight?: number;
        endHeight?: number;
        callback?: (success: boolean) => void;
        applyClip?: boolean;
        exportMeshInfo?: boolean;
        isSimplify?: boolean;
        fileName?: string;
    }
    索引

    屬性

    nodeId?: string

    Node的Id,需在視野內。

    polygon?: GeoPolygon

    多邊形,若沒給nodeId時匯出這個範圍的Mesh。

    startHeight?: number

    起始高。

    endHeight?: number

    結束高。

    callback?: (success: boolean) => void

    完成後的回呼。 參數為匯出結果,失敗可能原因:無法從當前作畫傾斜攝影中找到符合條件的Mesh。

    applyClip?: boolean

    是否套用裁切區域。

    exportMeshInfo?: boolean

    是否匯出相關資訊MeshInfo.txt。

    isSimplify?: boolean

    是否啟用簡化切割,false:邊緣切齊,true:僅簡單去除polygon外的三角面。

    fileName?: string

    檔案名稱