作畫參數。

interface DrawTerrainSettingParameter {
    aspectColorSetting: AspectColorSettingParameter;
    baseColor: ov.Color;
    contourSetting: ContourSettingParameter;
    cullingSurface: boolean;
    deepWaterColor: ov.Color;
    emptyTileImage: null | string;
    enableShadow: boolean;
    flowRate: number;
    graticuleSetting: GraticuleSettingParameter;
    grid: boolean;
    heightColorSetting: 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: SlopeColorSettingParameter;
    surface: boolean;
    tooltipSetting: ov.TerrainView.TooltipSettingParameter;
    vertexWireframe: boolean;
    vertexWireframeDensityLevel: number;
    vertexWireframeWithBaseOverlay: boolean;
    waterAlpha: number;
    waterFilterColor: ov.Color;
    waterQuality: "normal" | "very high" | "high" | "low";
    waveScale: number;
    wireframeColor: ov.Color;
    wireframeOpacity: number;
}

Properties

aspectColorSetting: AspectColorSettingParameter

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

baseColor: ov.Color

指定地形底色

contourSetting: ContourSettingParameter

等高線設定

cullingSurface: boolean

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

deepWaterColor: ov.Color

深水顏色

emptyTileImage: null | string

指定失聯圖磚替代影像

enableShadow: boolean

是否輸出陰影

flowRate: number

水流流速

graticuleSetting: GraticuleSettingParameter

經緯線設定

grid: boolean

輸出框線

heightColorSetting: 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: SlopeColorSettingParameter

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

surface: boolean

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

Tooltip設定。

vertexWireframe: boolean

輸出網格。

vertexWireframeDensityLevel: number

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

vertexWireframeWithBaseOverlay: boolean

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

waterAlpha: number

水的不透明度

waterFilterColor: ov.Color

水下濾鏡顏色

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

水面渲染品質

waveScale: number

波浪大小

wireframeColor: ov.Color

指定網格的顏色

wireframeOpacity: number

指定網格的不透明度

Generated using TypeDoc