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

    介面 AddPointCloudLayerProperty

    新增點雲圖層參數。

    interface AddPointCloudLayerProperty {
        identifier: string;
        url: string;
        colorSet?: { color?: null | number[]; upper?: null | number[] };
        EDLStrength?: number;
        enableAltitudeMode?: boolean;
        enableColorBlend?: boolean;
        enableEDL?: boolean;
        token?: string;
        urlTemplate?: string;
    }

    層級 (查看層級一覽)

    索引

    屬性

    identifier: string

    圖層名稱。

    url: string

    位址。

    colorSet?: { color?: null | number[]; upper?: null | number[] }

    高度的分層設色參數。

    類型宣告

    • 可選color?: null | number[]

      依序填入RGBA 0~255的數字,目前作畫關閉透明度混色,因此A通道無效。

    • 可選upper?: null | number[]

      分層中各層的上界。

    EDLStrength?: number

    EDL加權強度。

    0.4
    
    enableAltitudeMode?: boolean

    是否用高度填色。

    false
    
    enableColorBlend?: boolean

    是否開啟漸層。

    true
    
    enableEDL?: boolean

    是否啟用EDL。

    false
    
    token?: string

    若有需要提供,token。

    urlTemplate?: string

    網址字串模板,可給代理如PROXY_URL/{URL}。

    ""