設定作畫參數。

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

Hierarchy

  • Omit<Partial<DrawTerrainSettingParameter>, "waterFilterColor" | "baseColor" | "wireframeColor" | "contourSetting" | "heightColorSetting" | "aspectColorSetting" | "slopeColorSetting" | "graticuleSetting" | "tooltipSetting">
    • SetDrawTerrainSettingParameter

Properties

aspectColorSetting?: Partial<AspectColorSettingParameter>

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

baseColor?: null | ov.Color

指定地形底色

contourSetting?: Partial<ContourSettingParameter>

等高線設定

cullingSurface?: boolean

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

deepWaterColor?: ov.Color

深水顏色

emptyTileImage?: null | string

指定失聯圖磚替代影像

enableShadow?: boolean

是否輸出陰影

flowRate?: number

水流流速

graticuleSetting?: Partial<GraticuleSettingParameter>

經緯線設定

grid?: boolean

輸出框線

heightColorSetting?: Partial<HeightColorSettingParameter>

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

isDrawAtmoGround?: boolean

是否繪製地表大氣

maxLevel?: number

地形分裂最大level上限

mipAnisotropy?: boolean

各向異性過濾

noElevation?: boolean

關閉高程

referenceBaseColor?: ov.Color

參考表面底色

referenceBaseColorFactor?: number

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

referenceColorGradientFactor?: number

參考表面漸變因數

referenceGrid?: boolean

顯示參考表面格線

referenceGridColor?: ov.Color

參考表面格線顏色

referenceSecondaryColor?: ov.Color

參考表面輔色

referenceSurface?: boolean

輸出參考表面

reflectiveColor?: ov.Color

水面反射的顏色

shallowWaterColor?: ov.Color

水表面顏色

showWater?: boolean

是否輸出水

skirt?: boolean

輸出裙邊

slopeColorSetting?: Partial<SlopeColorSettingParameter>

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

surface?: boolean

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

tooltipSetting?: Partial<ov.TerrainView.TooltipSettingParameter>

Tooltip設定。

vertexWireframe?: boolean

輸出網格。

vertexWireframeDensityLevel?: number

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

vertexWireframeWithBaseOverlay?: boolean

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

waterAlpha?: number

水的不透明度

waterFilterColor?: null | ov.Color

水下濾鏡顏色

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

水面渲染品質

waveScale?: number

波浪大小

wireframeColor?: null | ov.Color

指定網格的顏色

wireframeOpacity?: number

指定網格的不透明度

Generated using TypeDoc