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

    介面 TerrainViewOptions

    視圖的初始化選項。

    interface TerrainViewOptions {
        transparentBackground?: boolean;
        antialias?: boolean;
        backgroundColor?: window.ov.Color;
        showSun?: boolean;
        showAtmosphere?: boolean;
        showOuterSpaceBox?: boolean;
        outputSelectMap?: boolean;
        outputDepthMap?: boolean;
        webglImage?: string;
        cacheLayerEnable?: boolean;
        cacheLayerOffline?: boolean;
        xrCompatible?: boolean;
        requestWebGL2?: boolean;
    }
    索引

    屬性

    transparentBackground?: boolean

    背景是否透明。

    false
    
    antialias?: boolean

    抗鋸齒。

    true
    
    backgroundColor?: window.ov.Color

    底色。

    new ov.Color("#FFFFFF")
    
    showSun?: boolean

    畫太陽。

    true
    
    showAtmosphere?: boolean

    畫大氣。

    true
    
    showOuterSpaceBox?: boolean

    畫外太空。

    true
    
    outputSelectMap?: boolean

    點選物件。

    true
    
    outputDepthMap?: boolean

    深度測試。

    true
    
    webglImage?: string

    初始化底圖。

    null
    
    cacheLayerEnable?: boolean

    是否使用indexedDB快取。

    false
    
    cacheLayerOffline?: boolean

    indexedDB快取是否保證不連接MapServer也可以使用。

    false
    
    xrCompatible?: boolean

    若要使用xr功能,需設為true。

    false
    
    requestWebGL2?: boolean

    是否使用WebGL2。

    false