数字孪生Web 后台dt( digital twin)2.0版本 统一命名格式
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1136 lines
21 KiB

12 months ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TerrainEffect - XbsjEarth Documentation</title>
<!--[if lt IE 9]>
<script src="javascript/html5.js"></script>
<![endif]-->
<link href="styles/jsdoc-default.css" rel="stylesheet">
<link href="styles/prism.css" rel="stylesheet">
</head>
<body>
<div id="main">
<h1 class="page-title">
<!-- <a href="index.html"><img src="Images/CesiumLogo.png" class="cesiumLogo"></a> -->
<a href="index.html">EarthSDK</a>
TerrainEffect
<div class="titleCenterer"></div>
</h1>
<section>
<header>
<div class="class-description">地形特效</div>
</header>
<article>
<div class="container-overview">
<div class="nameContainer">
<h4 class="name" id="TerrainEffect">
<a href="#TerrainEffect" class="doc-link"></a>
new TerrainEffect<span class="signature">()</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<dl class="details">
</dl>
</div>
<h3 class="subsection-title">Classes</h3>
<dl>
<dt><a href="TerrainEffect.AspectRamp.html">AspectRamp</a></dt>
<dd></dd>
<dt><a href="TerrainEffect.Contour.html">Contour</a></dt>
<dd></dd>
<dt><a href="TerrainEffect.ElevationRamp.html">ElevationRamp</a></dt>
<dd></dd>
<dt><a href="TerrainEffect.GlobeTranslucency.html">GlobeTranslucency</a></dt>
<dd></dd>
<dt><a href="TerrainEffect.Restrict.html">Restrict</a></dt>
<dd></dd>
<dt><a href="TerrainEffect.SlopeRamp.html">SlopeRamp</a></dt>
<dd></dd>
</dl>
<h3 class="subsection-title">Members</h3>
<div class="nameContainer">
<h4 class="name" id="aspect">
<a href="#aspect" class="doc-link"></a>
aspect<span class="type-signature"> : <a href="TerrainEffect.AspectRamp.html">TerrainEffect.AspectRamp</a></span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
坡向着色
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">null</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="baseColor">
<a href="#baseColor" class="doc-link"></a>
baseColor<span class="type-signature"> : Array.&lt;number></span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
全球背景颜色
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="contour">
<a href="#contour" class="doc-link"></a>
contour<span class="type-signature"> : <a href="TerrainEffect.Contour.html">TerrainEffect.Contour</a></span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
等高线
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">null</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="depthTest">
<a href="#depthTest" class="doc-link"></a>
depthTest<span class="type-signature"> : boolean</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
深度检测
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="elevation">
<a href="#elevation" class="doc-link"></a>
elevation<span class="type-signature"> : <a href="TerrainEffect.ElevationRamp.html">TerrainEffect.ElevationRamp</a></span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
高程着色
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">null</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="enableLighting">
<a href="#enableLighting" class="doc-link"></a>
enableLighting<span class="type-signature"> : boolean</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
地形光照
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="globeTranslucency">
<a href="#globeTranslucency" class="doc-link"></a>
globeTranslucency<span class="type-signature"> : <a href="TerrainEffect.GlobeTranslucency.html">TerrainEffect.GlobeTranslucency</a></span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
地表透明
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">null</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="logDepth">
<a href="#logDepth" class="doc-link"></a>
logDepth<span class="type-signature"> : boolean</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
对数深度
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">true</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="restrict">
<a href="#restrict" class="doc-link"></a>
restrict<span class="type-signature"> : <a href="TerrainEffect.Restrict.html">TerrainEffect.Restrict</a></span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
地形限制(地形剖切)
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">null</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="shading">
<a href="#shading" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span>shading<span class="type-signature"> : Object</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
当前启用的着色对象
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">undefined</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="show">
<a href="#show" class="doc-link"></a>
show<span class="type-signature"> : boolean</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
地形可见用
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">true</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="slope">
<a href="#slope" class="doc-link"></a>
slope<span class="type-signature"> : <a href="TerrainEffect.SlopeRamp.html">TerrainEffect.SlopeRamp</a></span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
坡度着色
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">null</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="subSurfaceEnabled">
<a href="#subSurfaceEnabled" class="doc-link"></a>
subSurfaceEnabled<span class="type-signature"> : boolean</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
启用地下模式
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="surfaceOpacity">
<a href="#surfaceOpacity" class="doc-link"></a>
surfaceOpacity<span class="type-signature"> : number</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
0.0表示完全透明,1.0表示完全不透明,注意地形深度检测(depthTest)关闭以后此属性才起作用!
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">1.0</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="wireFrame">
<a href="#wireFrame" class="doc-link"></a>
wireFrame<span class="type-signature"> : boolean</span>
<div class="source-link rightLinks">
</div>
</h4>
</div>
<div class="description">
地形三角网
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
</dl>
</article>
</section>
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.2</a>
</footer>
</div>
<div class="nav">
<div class="menu">
<input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
<ul id="ClassList"><li data-name="AmbientOcclusionStage"><a href="AmbientOcclusionStage.html">AmbientOcclusionStage</a></li><li data-name="Analyzation"><a href="Analyzation.html">Analyzation</a></li><li data-name="CutFillComputing"><a href="Analyzation.CutFillComputing.html">CutFillComputing</a></li><li data-name="Measurement"><a href="Analyzation.Measurement.html">Measurement</a></li><li data-name="BlackAndWhiteStage"><a href="BlackAndWhiteStage.html">BlackAndWhiteStage</a></li><li data-name="BloomStage"><a href="BloomStage.html">BloomStage</a></li><li data-name="BrightnessStage"><a href="BrightnessStage.html">BrightnessStage</a></li><li data-name="Camera"><a href="Camera.html">Camera</a></li><li data-name="Immersion"><a href="Camera.Immersion.html">Immersion</a></li><li data-name="Interaction"><a href="Camera.Interaction.html">Interaction</a></li><li data-name="Navigator"><a href="Camera.Navigator.html">Navigator</a></li><li data-name="Viewport"><a href="Camera.Viewport.html">Viewport</a></li><li data-name="CameraFlight"><a href="CameraFlight.html">CameraFlight</a></li><li data-name="CameraTrack"><a href="CameraFlight.CameraTrack.html">CameraTrack</a></li><li data-name="CameraView"><a href="CameraView.html">CameraView</a></li><li data-name="Manager"><a href="CameraView.Manager.html">Manager</a></li><li data-name="Status"><a href="CameraView.Status.html">Status</a></li><li data-name="View"><a href="CameraView.View.html">View</a></li><li data-name="DepthOfFieldStage"><a href="DepthOfFieldStage.html">DepthOfFieldStage</a></li><li data-name="Earth"><a href="Earth.html">Earth</a></li><li data-name="Effect"><a href="Effect.html">Effect</a></li><li data-name="ForceSunPos"><a href="Effect.ForceSunPos.html">ForceSunPos</a></li><li data-name="Shadow"><a href="Effect.Shadow.html">Shadow</a></li><li data-name="HTML"><a href="HTML.html">HTML</a></li><li data-name="LensFlareStage"><a href="LensFlareStage.html">LensFlareStage</a></li><li data-name="MapVLayer"><a href="MapVLayer.MapVLayer.html">MapVLayer</a></li><li data-name="MapVRenderer"><a href="MapVRenderer.MapVRenderer.html">MapVRenderer</a></li><li data-name="Misc"><a href="Misc.html">Misc</a></li><li data-name="Debug"><a href="Misc.Debug.html">Debug</a></li><li data-name="MosaicStage"><a href="MosaicStage.html">MosaicStage</a></li><li data-name="MVVM"><a href="MVVM.html">MVVM</a></li><li data-name="NightVisionStage"><a href="NightVisionStage.html">NightVisionStage</a></li><li data-name="Obj"><a href="Obj.html">Obj</a></li><li data-name="CameraVideo"><a href="Obj.CameraVideo.html">CameraVideo</a></li><li data-name="ClassificationPolygon"><a href="Obj.ClassificationPolygon.html">ClassificationPolygon</a></li><li data-name="Outline"><a href="Obj.ClassificationPolygon.Outline.html">Outline</a></li><li data-name="ClippingPlane"><a href="Obj.ClippingPlane.html">ClippingPlane</a></li><li data-name="CustomGroundRectangle"><a href="Obj.CustomGroundRectangle.html">CustomGroundRectangle</a></li><li data-name="CustomPrimitive"><a href="Obj.CustomPrimitive.html">CustomPrimitive</a></li><li data-name="Geometry"><a href="Obj.CustomPrimitive.Geometry.html">Geometry</a></li><li data-name="CutSurface"><a href="Obj.CutSurface.html">CutSurface</a></li><li data-name="FlattenedPolygonCollection"><a href="Obj.FlattenedPolygonCollection.html">FlattenedPolygonCollection</a></li><li data-name="FlattenedPolygon"><a href="Obj.FlattenedPolygonCollection.FlattenedPolygon.html">FlattenedPolygon</a></li><li data-name="Forest"><a href="Obj.Forest.html">Forest</a></li><li data-name="GroundImage"><a href="Obj.GroundImage.html">GroundImage</a></li><li data-name="HeatMap"><a href="Obj.HeatMap.html">HeatMap</a></li><li data-name="Imagery"><a href="Obj.Imagery.html">Imagery</a></li><li data-name="ImageryProvider"><a href="Obj.Imagery.ImageryProvider.html">ImageryProvider</a></li><li data-name="ArcGisMapServerImageryProvider"><a href="Obj.Imagery.ImageryProvider.ArcGisMapServerImageryProvider.html">ArcGisMapServerImageryProvider</a></li><li data-name="GoogleEarthEnterpriseImageryProvider"><a href="Obj.Image
</div>
</div>
<script>
if (window.frameElement) {
document.body.className = 'embedded';
var ele = document.createElement('a');
ele.className = 'popout';
ele.target = '_blank';
ele.href = window.location.href;
ele.title = 'Pop out';
document.getElementById('main').appendChild(ele);
}
// Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
if (/^https?:/i.test(a.getAttribute('href'))) {
a.target='_blank';
}
});
</script>
<script src="javascript/prism.js"></script>
<script src="javascript/cesiumDoc.js"></script>
</body>
</html>