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

    介面 DrawTerrainSetting

    設定作畫參數。

    interface DrawTerrainSetting {
        waterFilterColor?: null | window.ov.Color;
        baseColor?: null | window.ov.Color;
        wireframeColor?: null | window.ov.Color;
        contourSetting?: Partial<ContourSettingParameter>;
        heightColorSetting?: Partial<HeightColorSettingParameter>;
        aspectColorSetting?: Partial<AspectColorSettingParameter>;
        slopeColorSetting?: Partial<SlopeColorSettingParameter>;
        graticuleSetting?: Partial<GraticuleSettingParameter>;
        tooltipSetting?: Partial<window.ov.TooltipSettingParameter>;
        grid?: boolean;
        maxLevel?: number;
        deepWaterColor?: window.ov.Color;
        shallowWaterColor?: window.ov.Color;
        waterAlpha?: number;
        waveScale?: number;
        reflectiveColor?: window.ov.Color;
        flowRate?: number;
        emptyTileImage?: null | string;
        vertexWireframe?: boolean;
        vertexWireframeDensityLevel?: number;
        cullingSurface?: boolean;
        skirt?: boolean;
        referenceSurface?: boolean;
        surface?: boolean;
        showWater?: boolean;
        waterQuality?: "very high" | "high" | "normal" | "low";
        vertexWireframeWithBaseOverlay?: boolean;
        wireframeOpacity?: number;
        mipAnisotropy?: boolean;
        referenceColorGradientFactor?: number;
        referenceBaseColorFactor?: number;
        referenceBaseColor?: window.ov.Color;
        referenceSecondaryColor?: window.ov.Color;
        referenceGrid?: boolean;
        referenceGridColor?: window.ov.Color;
        noElevation?: boolean;
        isDrawAtmoGround?: boolean;
        enableShadow?: boolean;
    }

    層級

    • Omit<
          Partial<DrawTerrainSettingParameter>,

              | "waterFilterColor"
              | "baseColor"
              | "wireframeColor"
              | "contourSetting"
              | "heightColorSetting"
              | "aspectColorSetting"
              | "slopeColorSetting"
              | "graticuleSetting"
              | "tooltipSetting",
      >
      • DrawTerrainSetting
    索引

    屬性

    waterFilterColor?: null | window.ov.Color

    水下濾鏡顏色

    baseColor?: null | window.ov.Color

    指定地形底色

    wireframeColor?: null | window.ov.Color

    指定網格的顏色

    contourSetting?: Partial<ContourSettingParameter>

    等高線設定

    heightColorSetting?: Partial<HeightColorSettingParameter>

    高度填色設定,優先度最低

    aspectColorSetting?: Partial<AspectColorSettingParameter>

    坡向填色設定,優先度最高

    slopeColorSetting?: Partial<SlopeColorSettingParameter>

    坡度填色設定,優先度第二

    graticuleSetting?: Partial<GraticuleSettingParameter>

    經緯線設定

    tooltipSetting?: Partial<window.ov.TooltipSettingParameter>

    Tooltip設定。

    grid?: boolean

    輸出框線

    maxLevel?: number

    地形分裂最大level上限

    deepWaterColor?: window.ov.Color

    深水顏色

    shallowWaterColor?: window.ov.Color

    水表面顏色

    waterAlpha?: number

    水的不透明度

    waveScale?: number

    波浪大小

    reflectiveColor?: window.ov.Color

    水面反射的顏色

    flowRate?: number

    水流流速

    emptyTileImage?: null | string

    指定失聯圖磚替代影像

    vertexWireframe?: boolean

    輸出網格。

    vertexWireframeDensityLevel?: number

    網格密度等級(1~6)。

    cullingSurface?: boolean

    指定是否剃除反向的三角形表面

    skirt?: boolean

    輸出裙邊

    referenceSurface?: boolean

    輸出參考表面

    surface?: boolean

    指定作畫時是否要輸出三角面

    showWater?: boolean

    是否輸出水

    waterQuality?: "very high" | "high" | "normal" | "low"

    水面渲染品質

    vertexWireframeWithBaseOverlay?: boolean

    指定頂點網格是否要使用紋理上色

    wireframeOpacity?: number

    指定網格的不透明度

    mipAnisotropy?: boolean

    各向異性過濾

    referenceColorGradientFactor?: number

    參考表面漸變因數

    referenceBaseColorFactor?: number

    參考表面漸變底色最低比例

    referenceBaseColor?: window.ov.Color

    參考表面底色

    referenceSecondaryColor?: window.ov.Color

    參考表面輔色

    referenceGrid?: boolean

    顯示參考表面格線

    referenceGridColor?: window.ov.Color

    參考表面格線顏色

    noElevation?: boolean

    關閉高程

    isDrawAtmoGround?: boolean

    是否繪製地表大氣

    enableShadow?: boolean

    是否輸出陰影