qd-changjing/public/static/Build/Documentation/Scene.html

8686 lines
171 KiB
HTML
Raw Normal View History

2022-07-05 16:56:29 +08:00
<!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>Scene - Cesium 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>
Scene
<div class="titleCenterer"></div>
</h1>
<section>
<header>
</header>
<article>
<div class="container-overview">
<div class="nameContainer">
<h4 class="name" id="Scene">
<a href="#Scene" class="doc-link"></a>
new Cesium.Scene<span class="signature">(options, <span class="optional">depthPlaneEllipsoidOffset</span>)</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L154">Scene/Scene.js 154</a>
</div>
</h4>
</div>
<div class="description">
The container for all 3D graphical objects and state in a Cesium virtual scene. Generally,
a scene is not created directly; instead, it is implicitly created by <a href="CesiumWidget.html"><code>CesiumWidget</code></a>.
<p>
<em><code>contextOptions</code> parameter details:</em>
</p>
<p>
The default values are:
<code>
{
webgl : {
alpha : false,
depth : true,
stencil : false,
antialias : true,
powerPreference: 'high-performance',
premultipliedAlpha : true,
preserveDrawingBuffer : false,
failIfMajorPerformanceCaveat : false
},
allowTextureFilterAnisotropic : true
}
</code>
</p>
<p>
The <code>webgl</code> property corresponds to the <a href="http://www.khronos.org/registry/webgl/specs/latest/#5.2">WebGLContextAttributes</a>
object used to create the WebGL context.
</p>
<p>
<code>webgl.alpha</code> defaults to false, which can improve performance compared to the standard WebGL default
of true. If an application needs to composite Cesium above other HTML elements using alpha-blending, set
<code>webgl.alpha</code> to true.
</p>
<p>
The other <code>webgl</code> properties match the WebGL defaults for <a href="http://www.khronos.org/registry/webgl/specs/latest/#5.2">WebGLContextAttributes</a>.
</p>
<p>
<code>allowTextureFilterAnisotropic</code> defaults to true, which enables anisotropic texture filtering when the
WebGL extension is supported. Setting this to false will improve performance, but hurt visual quality, especially for horizon views.
</p>
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>options</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="default">
</td>
<td class="description last">
Object with the following properties:
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>canvas</code></td>
<td class="type">
<span class="param-type">HTMLCanvasElement</span>
</td>
<td class="default">
</td>
<td class="description last">
The HTML canvas element to create the scene for.</td>
</tr>
<tr>
<td class="name"><code>contextOptions</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
Context and WebGL creation properties. See details above.</td>
</tr>
<tr>
<td class="name"><code>creditContainer</code></td>
<td class="type">
<span class="param-type">Element</span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
The HTML element in which the credits will be displayed.</td>
</tr>
<tr>
<td class="name"><code>creditViewport</code></td>
<td class="type">
<span class="param-type">Element</span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
The HTML element in which to display the credit popup. If not specified, the viewport will be a added as a sibling of the canvas.</td>
</tr>
<tr>
<td class="name"><code>mapProjection</code></td>
<td class="type">
<span class="param-type"><a href="MapProjection.html">MapProjection</a></span>
</td>
<td class="default">
<code class="language-javascript">new GeographicProjection()</code>
</td>
<td class="description last">
<span class="optional">optional</span>
The map projection to use in 2D and Columbus View modes.</td>
</tr>
<tr>
<td class="name"><code>orderIndependentTranslucency</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="default">
<code class="language-javascript">true</code>
</td>
<td class="description last">
<span class="optional">optional</span>
If true and the configuration supports it, use order independent translucency.</td>
</tr>
<tr>
<td class="name"><code>scene3DOnly</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="default">
<code class="language-javascript">false</code>
</td>
<td class="description last">
<span class="optional">optional</span>
If true, optimizes memory use and performance for 3D mode but disables the ability to use 2D or Columbus View.</td>
</tr>
<tr>
<td class="name"><code>shadows</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="default">
<code class="language-javascript">false</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Determines if shadows are cast by light sources.</td>
</tr>
<tr>
<td class="name"><code>mapMode2D</code></td>
<td class="type">
<span class="param-type"><a href="global.html#MapMode2D">MapMode2D</a></span>
</td>
<td class="default">
<code class="language-javascript">MapMode2D.INFINITE_SCROLL</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Determines if the 2D map is rotatable or can be scrolled infinitely in the horizontal direction.</td>
</tr>
<tr>
<td class="name"><code>requestRenderMode</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="default">
<code class="language-javascript">false</code>
</td>
<td class="description last">
<span class="optional">optional</span>
If true, rendering a frame will only occur when needed as determined by changes within the scene. Enabling improves performance of the application, but requires using <a href="Scene.html#requestRender"><code>Scene#requestRender</code></a> to render a new frame explicitly in this mode. This will be necessary in many cases after making changes to the scene in other parts of the API. See <a href="https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/">Improving Performance with Explicit Rendering</a>.</td>
</tr>
<tr>
<td class="name"><code>maximumRenderTimeChange</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">0.0</code>
</td>
<td class="description last">
<span class="optional">optional</span>
If requestRenderMode is true, this value defines the maximum change in simulation time allowed before a render is requested. See <a href="https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/">Improving Performance with Explicit Rendering</a>.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="name"><code>depthPlaneEllipsoidOffset</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">0.0</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Adjust the DepthPlane to address rendering artefacts below ellipsoid zero elevation.</td>
</tr>
<tr>
<td class="name"><code>options.msaaSamples</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">1</code>
</td>
<td class="description last">
<span class="optional">optional</span>
If provided, this value controls the rate of multisample antialiasing. Typical multisampling rates are 2, 4, and sometimes 8 samples per pixel. Higher sampling rates of MSAA may impact performance in exchange for improved visual quality. This value only applies to WebGL2 contexts that support multisample render targets.</td>
</tr>
</tbody>
</table>
<h5>Throws:</h5>
<ul>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: options and options.canvas are required.
</div>
</li>
</ul>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">// Create scene without anisotropic texture filtering
const scene = new Cesium.Scene({
canvas : canvas,
contextOptions : {
allowTextureFilterAnisotropic : false
}
});</code></pre>
<h5>See:</h5>
<ul class="see-list">
<li><a href="CesiumWidget.html">CesiumWidget</a></li>
<li><a href="http://www.khronos.org/registry/webgl/specs/latest/#5.2">WebGLContextAttributes</a></li>
</ul>
</dl>
</div>
<h3 class="subsection-title">Members</h3>
<div class="nameContainer">
<h4 class="name" id="backgroundColor">
<a href="#backgroundColor" class="doc-link"></a>
backgroundColor<span class="type-signature"> : <a href="Color.html">Color</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L352">Scene/Scene.js 352</a>
</div>
</h4>
</div>
<div class="description">
The background color, which is only visible if there is no sky box, i.e., <a href="Scene.html#skyBox"><code>Scene#skyBox</code></a> is undefined.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript"><a href="Color.html#.BLACK"><code>Color.BLACK</code></a></code>
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#skyBox">Scene#skyBox</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="camera">
<a href="#camera" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> camera<span class="type-signature"> : <a href="Camera.html">Camera</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L975">Scene/Scene.js 975</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the camera.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="cameraUnderground">
<a href="#cameraUnderground" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> cameraUnderground<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1594">Scene/Scene.js 1594</a>
</div>
</h4>
</div>
<div class="description">
Whether or not the camera is underneath the globe.
</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="canvas">
<a href="#canvas" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> canvas<span class="type-signature"> : HTMLCanvasElement</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L780">Scene/Scene.js 780</a>
</div>
</h4>
</div>
<div class="description">
Gets the canvas element to which this scene is bound.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="clampToHeightSupported">
<a href="#clampToHeightSupported" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> clampToHeightSupported<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L887">Scene/Scene.js 887</a>
</div>
</h4>
</div>
<div class="description">
Returns <code>true</code> if the <a href="Scene.html#clampToHeight"><code>Scene#clampToHeight</code></a> and <a href="Scene.html#clampToHeightMostDetailed"><code>Scene#clampToHeightMostDetailed</code></a> functions are supported.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#clampToHeight">Scene#clampToHeight</a></li>
<li><a href="Scene.html#clampToHeightMostDetailed">Scene#clampToHeightMostDetailed</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="completeMorphOnUserInput">
<a href="#completeMorphOnUserInput" class="doc-link"></a>
completeMorphOnUserInput<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L285">Scene/Scene.js 285</a>
</div>
</h4>
</div>
<div class="description">
Determines whether or not to instantly complete the
scene transition animation on user input.
</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="debugCommandFilter">
<a href="#debugCommandFilter" class="doc-link"></a>
debugCommandFilter<span class="type-signature"> : function</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L432">Scene/Scene.js 432</a>
</div>
</h4>
</div>
<div class="description">
This property is for debugging only; it is not for production use.
<p>
A function that determines what commands are executed. As shown in the examples below,
the function receives the command's <code>owner</code> as an argument, and returns a boolean indicating if the
command should be executed.
</p>
<p>
The default is <code>undefined</code>, indicating that all commands are executed.
</p>
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">undefined</code>
<h5>Example:</h5>
<pre><code class="language-javascript">// Do not execute any commands.
scene.debugCommandFilter = function(command) {
return false;
};
// Execute only the billboard's commands. That is, only draw the billboard.
const billboards = new Cesium.BillboardCollection();
scene.debugCommandFilter = function(command) {
return command.owner === billboards;
};</code></pre>
</dl>
<div class="nameContainer">
<h4 class="name" id="debugFrustumStatistics">
<a href="#debugFrustumStatistics" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> debugFrustumStatistics<span class="type-signature"> : Object</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1314">Scene/Scene.js 1314</a>
</div>
</h4>
</div>
<div class="description">
This property is for debugging only; it is not for production use.
<p>
When <code>Scene.debugShowFrustums</code> is <code>true</code>, this contains
properties with statistics about the number of command execute per frustum.
<code>totalCommands</code> is the total number of commands executed, ignoring
overlap. <code>commandsInFrustums</code> is an array with the number of times
commands are executed redundantly, e.g., how many commands overlap two or
three frustums.
</p>
</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="debugShowCommands">
<a href="#debugShowCommands" class="doc-link"></a>
debugShowCommands<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L446">Scene/Scene.js 446</a>
</div>
</h4>
</div>
<div class="description">
This property is for debugging only; it is not for production use.
<p>
When <code>true</code>, commands are randomly shaded. This is useful
for performance analysis to see what parts of a scene or model are
command-dense and could benefit from batching.
</p>
</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="debugShowDepthFrustum">
<a href="#debugShowDepthFrustum" class="doc-link"></a>
debugShowDepthFrustum<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L487">Scene/Scene.js 487</a>
</div>
</h4>
</div>
<div class="description">
This property is for debugging only; it is not for production use.
<p>
Indicates which frustum will have depth information displayed.
</p>
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">1</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="debugShowFramesPerSecond">
<a href="#debugShowFramesPerSecond" class="doc-link"></a>
debugShowFramesPerSecond<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L475">Scene/Scene.js 475</a>
</div>
</h4>
</div>
<div class="description">
This property is for debugging only; it is not for production use.
<p>
Displays frames per second and time between frames.
</p>
</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="debugShowFrustumPlanes">
<a href="#debugShowFrustumPlanes" class="doc-link"></a>
debugShowFrustumPlanes<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L499">Scene/Scene.js 499</a>
</div>
</h4>
</div>
<div class="description">
This property is for debugging only; it is not for production use.
<p>
When <code>true</code>, draws outlines to show the boundaries of the camera frustums
</p>
</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="debugShowFrustums">
<a href="#debugShowFrustums" class="doc-link"></a>
debugShowFrustums<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L463">Scene/Scene.js 463</a>
</div>
</h4>
</div>
<div class="description">
This property is for debugging only; it is not for production use.
<p>
When <code>true</code>, commands are shaded based on the frustums they
overlap. Commands in the closest frustum are tinted red, commands in
the next closest are green, and commands in the farthest frustum are
blue. If a command overlaps more than one frustum, the color components
are combined, e.g., a command overlapping the first two frustums is tinted
yellow.
</p>
</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="drawingBufferHeight">
<a href="#drawingBufferHeight" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> drawingBufferHeight<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L795">Scene/Scene.js 795</a>
</div>
</h4>
</div>
<div class="description">
The drawingBufferHeight of the underlying GL context.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://www.khronos.org/registry/webgl/specs/1.0/#DOM-WebGLRenderingContext-drawingBufferHeight">drawingBufferHeight</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="drawingBufferWidth">
<a href="#drawingBufferWidth" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> drawingBufferWidth<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L810">Scene/Scene.js 810</a>
</div>
</h4>
</div>
<div class="description">
The drawingBufferHeight of the underlying GL context.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://www.khronos.org/registry/webgl/specs/1.0/#DOM-WebGLRenderingContext-drawingBufferHeight">drawingBufferHeight</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="eyeSeparation">
<a href="#eyeSeparation" class="doc-link"></a>
eyeSeparation<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L594">Scene/Scene.js 594</a>
</div>
</h4>
</div>
<div class="description">
The eye separation distance in meters for use with cardboard or WebVR.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="farToNearRatio">
<a href="#farToNearRatio" class="doc-link"></a>
farToNearRatio<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L380">Scene/Scene.js 380</a>
</div>
</h4>
</div>
<div class="description">
The far-to-near ratio of the multi-frustum when using a normal depth buffer.
<p>
This value is used to create the near and far values for each frustum of the multi-frustum. It is only used
when <a href="Scene.html#logarithmicDepthBuffer"><code>Scene#logarithmicDepthBuffer</code></a> is <code>false</code>. When <code>logarithmicDepthBuffer</code> is
<code>true</code>, use <a href="Scene.html#logarithmicDepthFarToNearRatio"><code>Scene#logarithmicDepthFarToNearRatio</code></a>.
</p>
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">1000.0</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="focalLength">
<a href="#focalLength" class="doc-link"></a>
focalLength<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L588">Scene/Scene.js 588</a>
</div>
</h4>
</div>
<div class="description">
The focal length for use when with cardboard or WebVR.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="fog">
<a href="#fog" class="doc-link"></a>
fog<span class="type-signature"> : <a href="Fog.html">Fog</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L548">Scene/Scene.js 548</a>
</div>
</h4>
</div>
<div class="description">
Blends the atmosphere to geometry far from the camera for horizon views. Allows for additional
performance improvements by rendering less geometry and dispatching less terrain requests.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="gamma">
<a href="#gamma" class="doc-link"></a>
gamma<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1540">Scene/Scene.js 1540</a>
</div>
</h4>
</div>
<div class="description">
The value used for gamma correction. This is only used when rendering with high dynamic range.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">2.2</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="globe">
<a href="#globe" class="doc-link"></a>
globe<span class="type-signature"> : <a href="Globe.html">Globe</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L929">Scene/Scene.js 929</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the depth-test ellipsoid.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="groundPrimitives">
<a href="#groundPrimitives" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> groundPrimitives<span class="type-signature"> : <a href="PrimitiveCollection.html">PrimitiveCollection</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L962">Scene/Scene.js 962</a>
</div>
</h4>
</div>
<div class="description">
Gets the collection of ground primitives.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="highDynamicRange">
<a href="#highDynamicRange" class="doc-link"></a>
highDynamicRange<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1555">Scene/Scene.js 1555</a>
</div>
</h4>
</div>
<div class="description">
Whether or not to use high dynamic range rendering.
</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="highDynamicRangeSupported">
<a href="#highDynamicRangeSupported" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> highDynamicRangeSupported<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1577">Scene/Scene.js 1577</a>
</div>
</h4>
</div>
<div class="description">
Whether or not high dynamic range rendering is supported.
</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="id">
<a href="#id" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> id<span class="type-signature"> : String</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1352">Scene/Scene.js 1352</a>
</div>
</h4>
</div>
<div class="description">
Gets the unique identifier for this scene.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="imageryLayers">
<a href="#imageryLayers" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> imageryLayers<span class="type-signature"> : <a href="ImageryLayerCollection.html">ImageryLayerCollection</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1129">Scene/Scene.js 1129</a>
</div>
</h4>
</div>
<div class="description">
Gets the collection of image layers that will be rendered on the globe.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="imagerySplitPosition">
<a href="#imagerySplitPosition" class="doc-link"></a>
imagerySplitPosition<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1481">Scene/Scene.js 1481</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the position of the Imagery splitter within the viewport. Valid values are between 0.0 and 1.0.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="invertClassification">
<a href="#invertClassification" class="doc-link"></a>
invertClassification<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L568">Scene/Scene.js 568</a>
</div>
</h4>
</div>
<div class="description">
When <code>false</code>, 3D Tiles will render normally. When <code>true</code>, classified 3D Tile geometry will render normally and
unclassified 3D Tile geometry will render with the color multiplied by <a href="Scene.html#invertClassificationColor"><code>Scene#invertClassificationColor</code></a>.
</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="invertClassificationColor">
<a href="#invertClassificationColor" class="doc-link"></a>
invertClassificationColor<span class="type-signature"> : <a href="Color.html">Color</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L577">Scene/Scene.js 577</a>
</div>
</h4>
</div>
<div class="description">
The highlight color of unclassified 3D Tile geometry when <a href="Scene.html#invertClassification"><code>Scene#invertClassification</code></a> is <code>true</code>.
<p>When the color's alpha is less than 1.0, the unclassified portions of the 3D Tiles will not blend correctly with the classified positions of the 3D Tiles.</p>
<p>Also, when the color's alpha is less than 1.0, the WEBGL_depth_texture and EXT_frag_depth WebGL extensions must be supported.</p>
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">Color.WHITE</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="invertClassificationSupported">
<a href="#invertClassificationSupported" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> invertClassificationSupported<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L902">Scene/Scene.js 902</a>
</div>
</h4>
</div>
<div class="description">
Returns <code>true</code> if the <a href="Scene.html#invertClassification"><code>Scene#invertClassification</code></a> is supported.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#invertClassification">Scene#invertClassification</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="lastRenderTime">
<a href="#lastRenderTime" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> lastRenderTime<span class="type-signature"> : <a href="JulianDate.html">JulianDate</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1279">Scene/Scene.js 1279</a>
</div>
</h4>
</div>
<div class="description">
Gets the simulation time when the scene was last rendered. Returns undefined if the scene has not yet been
rendered.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="light">
<a href="#light" class="doc-link"></a>
light<span class="type-signature"> : <a href="Light.html">Light</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L742">Scene/Scene.js 742</a>
</div>
</h4>
</div>
<div class="description">
The light source for shading. Defaults to a directional light from the Sun.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="logarithmicDepthBuffer">
<a href="#logarithmicDepthBuffer" class="doc-link"></a>
logarithmicDepthBuffer<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1521">Scene/Scene.js 1521</a>
</div>
</h4>
</div>
<div class="description">
Whether or not to use a logarithmic depth buffer. Enabling this option will allow for less frustums in the multi-frustum,
increasing performance. This property relies on fragmentDepth being supported.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="logarithmicDepthFarToNearRatio">
<a href="#logarithmicDepthFarToNearRatio" class="doc-link"></a>
logarithmicDepthFarToNearRatio<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L393">Scene/Scene.js 393</a>
</div>
</h4>
</div>
<div class="description">
The far-to-near ratio of the multi-frustum when using a logarithmic depth buffer.
<p>
This value is used to create the near and far values for each frustum of the multi-frustum. It is only used
when <a href="Scene.html#logarithmicDepthBuffer"><code>Scene#logarithmicDepthBuffer</code></a> is <code>true</code>. When <code>logarithmicDepthBuffer</code> is
<code>false</code>, use <a href="Scene.html#farToNearRatio"><code>Scene#farToNearRatio</code></a>.
</p>
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">1e9</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="mapMode2D">
<a href="#mapMode2D" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> mapMode2D<span class="type-signature"> : <a href="global.html#MapMode2D">MapMode2D</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1469">Scene/Scene.js 1469</a>
</div>
</h4>
</div>
<div class="description">
Determines if the 2D map is rotatable or can be scrolled infinitely in the horizontal direction.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="mapProjection">
<a href="#mapProjection" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> mapProjection<span class="type-signature"> : <a href="MapProjection.html">MapProjection</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1056">Scene/Scene.js 1056</a>
</div>
</h4>
</div>
<div class="description">
Get the map projection to use in 2D and Columbus View modes.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">new GeographicProjection()</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="maximumAliasedLineWidth">
<a href="#maximumAliasedLineWidth" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> maximumAliasedLineWidth<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L825">Scene/Scene.js 825</a>
</div>
</h4>
</div>
<div class="description">
The maximum aliased line width, in pixels, supported by this WebGL implementation. It will be at least one.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://www.khronos.org/opengles/sdk/docs/man/xhtml/glGet.xml">glGet</a> with <code>ALIASED_LINE_WIDTH_RANGE</code>.</li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="maximumCubeMapSize">
<a href="#maximumCubeMapSize" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> maximumCubeMapSize<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L840">Scene/Scene.js 840</a>
</div>
</h4>
</div>
<div class="description">
The maximum length in pixels of one edge of a cube map, supported by this WebGL implementation. It will be at least 16.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://www.khronos.org/opengles/sdk/docs/man/xhtml/glGet.xml">glGet</a> with <code>GL_MAX_CUBE_MAP_TEXTURE_SIZE</code>.</li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="maximumRenderTimeChange">
<a href="#maximumRenderTimeChange" class="doc-link"></a>
maximumRenderTimeChange<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L674">Scene/Scene.js 674</a>
</div>
</h4>
</div>
<div class="description">
If <a href="Scene.html#requestRenderMode"><code>Scene#requestRenderMode</code></a> is <code>true</code>, this value defines the maximum change in
simulation time allowed before a render is requested. Lower values increase the number of frames rendered
and higher values decrease the number of frames rendered. If <code>undefined</code>, changes to
the simulation time will never request a render.
This value impacts the rate of rendering for changes in the scene like lighting, entity property updates,
and animations.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">0.0</code>
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/">Improving Performance with Explicit Rendering</a></li>
<li><a href="Scene.html#requestRenderMode">Scene#requestRenderMode</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="minimumDisableDepthTestDistance">
<a href="#minimumDisableDepthTestDistance" class="doc-link"></a>
minimumDisableDepthTestDistance<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1499">Scene/Scene.js 1499</a>
</div>
</h4>
</div>
<div class="description">
The distance from the camera at which to disable the depth test of billboards, labels and points
to, for example, prevent clipping against terrain. When set to zero, the depth test should always
be applied. When less than zero, the depth test should never be applied. Setting the disableDepthTestDistance
property of a billboard, label or point will override this value.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">0.0</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="mode">
<a href="#mode" class="doc-link"></a>
mode<span class="type-signature"> : <a href="global.html#SceneMode">SceneMode</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1364">Scene/Scene.js 1364</a>
</div>
</h4>
</div>
<div class="description">
Gets or sets the current mode of the scene.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript"><a href="global.html#SceneMode#.SCENE3D"><code>SceneMode.SCENE3D</code></a></code>
</dl>
<div class="nameContainer">
<h4 class="name" id="moon">
<a href="#moon" class="doc-link"></a>
moon<span class="type-signature"> : <a href="Moon.html">Moon</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L342">Scene/Scene.js 342</a>
</div>
</h4>
</div>
<div class="description">
The <a href="Moon.html"><code>Moon</code></a>
</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="morphComplete">
<a href="#morphComplete" class="doc-link"></a>
morphComplete<span class="type-signature"> : <a href="Event.html">Event</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L299">Scene/Scene.js 299</a>
</div>
</h4>
</div>
<div class="description">
The event fired at the completion of a scene transition.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">Event()</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="morphStart">
<a href="#morphStart" class="doc-link"></a>
morphStart<span class="type-signature"> : <a href="Event.html">Event</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L292">Scene/Scene.js 292</a>
</div>
</h4>
</div>
<div class="description">
The event fired at the beginning of a scene transition.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">Event()</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="morphTime">
<a href="#morphTime" class="doc-link"></a>
morphTime<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L367">Scene/Scene.js 367</a>
</div>
</h4>
</div>
<div class="description">
The current morph transition time between 2D/Columbus View and 3D,
with 0.0 being 2D or Columbus View and 1.0 being 3D.
</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="msaaSamples">
<a href="#msaaSamples" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> msaaSamples<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1607">Scene/Scene.js 1607</a>
</div>
</h4>
</div>
<div class="description">
The sample rate of multisample antialiasing (values greater than 1 enable MSAA).
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">1</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="msaaSupported">
<a href="#msaaSupported" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> msaaSupported<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1623">Scene/Scene.js 1623</a>
</div>
</h4>
</div>
<div class="description">
Returns <code>true</code> if the Scene's context supports MSAA.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="nearToFarDistance2D">
<a href="#nearToFarDistance2D" class="doc-link"></a>
nearToFarDistance2D<span class="type-signature"> : Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L403">Scene/Scene.js 403</a>
</div>
</h4>
</div>
<div class="description">
Determines the uniform depth size in meters of each frustum of the multifrustum in 2D. If a primitive or model close
to the surface shows z-fighting, decreasing this will eliminate the artifact, but decrease performance. On the
other hand, increasing this will increase performance but may cause z-fighting among primitives close to the surface.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">1.75e6</code>
</dl>
<div class="nameContainer">
<h4 class="name" id="orderIndependentTranslucency">
<a href="#orderIndependentTranslucency" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> orderIndependentTranslucency<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1340">Scene/Scene.js 1340</a>
</div>
</h4>
</div>
<div class="description">
Gets whether or not the scene has order independent translucency enabled.
Note that this only reflects the original construction option, and there are
other factors that could prevent OIT from functioning on a given system configuration.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="pickPositionSupported">
<a href="#pickPositionSupported" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> pickPositionSupported<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L855">Scene/Scene.js 855</a>
</div>
</h4>
</div>
<div class="description">
Returns <code>true</code> if the <a href="Scene.html#pickPosition"><code>Scene#pickPosition</code></a> function is supported.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#pickPosition">Scene#pickPosition</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="pickTranslucentDepth">
<a href="#pickTranslucentDepth" class="doc-link"></a>
pickTranslucentDepth<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L533">Scene/Scene.js 533</a>
</div>
</h4>
</div>
<div class="description">
When <code>true</code>, enables picking translucent geometry using the depth buffer. Note that <a href="Scene.html#useDepthPicking"><code>Scene#useDepthPicking</code></a> must also be true for enabling this to work.
<p>
There is a decrease in performance when enabled. There are extra draw calls to write depth for
translucent geometry.
</p>
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
<h5>Example:</h5>
<pre><code class="language-javascript">// picking the position of a translucent primitive
viewer.screenSpaceEventHandler.setInputAction(function onLeftClick(movement) {
const pickedFeature = viewer.scene.pick(movement.position);
if (!Cesium.defined(pickedFeature)) {
// nothing picked
return;
}
const worldPosition = viewer.scene.pickPosition(movement.position);
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);</code></pre>
</dl>
<div class="nameContainer">
<h4 class="name" id="postProcessStages">
<a href="#postProcessStages" class="doc-link"></a>
postProcessStages<span class="type-signature"> : <a href="PostProcessStageCollection.html">PostProcessStageCollection</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L600">Scene/Scene.js 600</a>
</div>
</h4>
</div>
<div class="description">
Post processing effects applied to the final render.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="postRender">
<a href="#postRender" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> postRender<span class="type-signature"> : <a href="Event.html">Event</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1265">Scene/Scene.js 1265</a>
</div>
</h4>
</div>
<div class="description">
Gets the event that will be raised immediately after the scene is rendered. Subscribers to the event
receive the Scene instance as the first parameter and the current time as the second parameter.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/">Improving Performance with Explicit Rendering</a></li>
<li><a href="Scene.html#preUpdate">Scene#preUpdate</a></li>
<li><a href="Scene.html#postUpdate">Scene#postUpdate</a></li>
<li><a href="Scene.html#postRender">Scene#postRender</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="postUpdate">
<a href="#postUpdate" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> postUpdate<span class="type-signature"> : <a href="Event.html">Event</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1210">Scene/Scene.js 1210</a>
</div>
</h4>
</div>
<div class="description">
Gets the event that will be raised immediately after the scene is updated and before the scene is rendered.
Subscribers to the event receive the Scene instance as the first parameter and the current time as the second
parameter.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/">Improving Performance with Explicit Rendering</a></li>
<li><a href="Scene.html#preUpdate">Scene#preUpdate</a></li>
<li><a href="Scene.html#preRender">Scene#preRender</a></li>
<li><a href="Scene.html#postRender">Scene#postRender</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="preRender">
<a href="#preRender" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> preRender<span class="type-signature"> : <a href="Event.html">Event</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1246">Scene/Scene.js 1246</a>
</div>
</h4>
</div>
<div class="description">
Gets the event that will be raised after the scene is updated and immediately before the scene is rendered.
Subscribers to the event receive the Scene instance as the first parameter and the current time as the second
parameter.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/">Improving Performance with Explicit Rendering</a></li>
<li><a href="Scene.html#preUpdate">Scene#preUpdate</a></li>
<li><a href="Scene.html#postUpdate">Scene#postUpdate</a></li>
<li><a href="Scene.html#postRender">Scene#postRender</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="preUpdate">
<a href="#preUpdate" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> preUpdate<span class="type-signature"> : <a href="Event.html">Event</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1190">Scene/Scene.js 1190</a>
</div>
</h4>
</div>
<div class="description">
Gets the event that will be raised before the scene is updated or rendered. Subscribers to the event
receive the Scene instance as the first parameter and the current time as the second parameter.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/">Improving Performance with Explicit Rendering</a></li>
<li><a href="Scene.html#postUpdate">Scene#postUpdate</a></li>
<li><a href="Scene.html#preRender">Scene#preRender</a></li>
<li><a href="Scene.html#postRender">Scene#postRender</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="primitives">
<a href="#primitives" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> primitives<span class="type-signature"> : <a href="PrimitiveCollection.html">PrimitiveCollection</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L949">Scene/Scene.js 949</a>
</div>
</h4>
</div>
<div class="description">
Gets the collection of primitives.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="renderError">
<a href="#renderError" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> renderError<span class="type-signature"> : <a href="Event.html">Event</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1226">Scene/Scene.js 1226</a>
</div>
</h4>
</div>
<div class="description">
Gets the event that will be raised when an error is thrown inside the <code>render</code> function.
The Scene instance and the thrown error are the only two parameters passed to the event handler.
By default, errors are not rethrown after this event is raised, but that can be changed by setting
the <code>rethrowRenderErrors</code> property.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="requestRenderMode">
<a href="#requestRenderMode" class="doc-link"></a>
requestRenderMode<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L657">Scene/Scene.js 657</a>
</div>
</h4>
</div>
<div class="description">
When <code>true</code>, rendering a frame will only occur when needed as determined by changes within the scene.
Enabling improves performance of the application, but requires using <a href="Scene.html#requestRender"><code>Scene#requestRender</code></a>
to render a new frame explicitly in this mode. This will be necessary in many cases after making changes
to the scene in other parts of the API.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
<h5>See:</h5>
<ul class="see-list">
<li><a href="https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/">Improving Performance with Explicit Rendering</a></li>
<li><a href="Scene.html#maximumRenderTimeChange">Scene#maximumRenderTimeChange</a></li>
<li><a href="Scene.html#requestRender">Scene#requestRender</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="rethrowRenderErrors">
<a href="#rethrowRenderErrors" class="doc-link"></a>
rethrowRenderErrors<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L276">Scene/Scene.js 276</a>
</div>
</h4>
</div>
<div class="description">
Exceptions occurring in <code>render</code> are always caught in order to raise the
<code>renderError</code> event. If this property is true, the error is rethrown
after the event is raised. If this property is false, the <code>render</code> function
returns normally after raising the event.
</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="sampleHeightSupported">
<a href="#sampleHeightSupported" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> sampleHeightSupported<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L871">Scene/Scene.js 871</a>
</div>
</h4>
</div>
<div class="description">
Returns <code>true</code> if the <a href="Scene.html#sampleHeight"><code>Scene#sampleHeight</code></a> and <a href="Scene.html#sampleHeightMostDetailed"><code>Scene#sampleHeightMostDetailed</code></a> functions are supported.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#sampleHeight">Scene#sampleHeight</a></li>
<li><a href="Scene.html#sampleHeightMostDetailed">Scene#sampleHeightMostDetailed</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="scene3DOnly">
<a href="#scene3DOnly" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> scene3DOnly<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1326">Scene/Scene.js 1326</a>
</div>
</h4>
</div>
<div class="description">
Gets whether or not the scene is optimized for 3D only viewing.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="screenSpaceCameraController">
<a href="#screenSpaceCameraController" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> screenSpaceCameraController<span class="type-signature"> : <a href="ScreenSpaceCameraController.html">ScreenSpaceCameraController</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1041">Scene/Scene.js 1041</a>
</div>
</h4>
</div>
<div class="description">
Gets the controller for camera input handling.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="shadowMap">
<a href="#shadowMap" class="doc-link"></a>
shadowMap<span class="type-signature"> : <a href="ShadowMap.html">ShadowMap</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L556">Scene/Scene.js 556</a>
</div>
</h4>
</div>
<div class="description">
The shadow map for the scene's light source. When enabled, models, primitives, and the globe may cast and receive shadows.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="skyAtmosphere">
<a href="#skyAtmosphere" class="doc-link"></a>
skyAtmosphere<span class="type-signature"> : <a href="SkyAtmosphere.html">SkyAtmosphere</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L317">Scene/Scene.js 317</a>
</div>
</h4>
</div>
<div class="description">
The sky atmosphere drawn around the globe.
</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="skyBox">
<a href="#skyBox" class="doc-link"></a>
skyBox<span class="type-signature"> : <a href="SkyBox.html">SkyBox</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L309">Scene/Scene.js 309</a>
</div>
</h4>
</div>
<div class="description">
The <a href="SkyBox.html"><code>SkyBox</code></a> used to draw the stars.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">undefined</code>
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#backgroundColor">Scene#backgroundColor</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="specularEnvironmentMaps">
<a href="#specularEnvironmentMaps" class="doc-link"></a>
specularEnvironmentMaps<span class="type-signature"> : String</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L735">Scene/Scene.js 735</a>
</div>
</h4>
</div>
<div class="description">
The url to the KTX2 file containing the specular environment map and convoluted mipmaps for image-based lighting of PBR models.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="specularEnvironmentMapsSupported">
<a href="#specularEnvironmentMapsSupported" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> specularEnvironmentMapsSupported<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L917">Scene/Scene.js 917</a>
</div>
</h4>
</div>
<div class="description">
Returns <code>true</code> if specular environment maps are supported.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#specularEnvironmentMaps">Scene#specularEnvironmentMaps</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="sphericalHarmonicCoefficients">
<a href="#sphericalHarmonicCoefficients" class="doc-link"></a>
sphericalHarmonicCoefficients<span class="type-signature"> : Array.&lt;<a href="Cartesian3.html">Cartesian3</a>></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L729">Scene/Scene.js 729</a>
</div>
</h4>
</div>
<div class="description">
The spherical harmonic coefficients for image-based lighting of PBR models.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="sun">
<a href="#sun" class="doc-link"></a>
sun<span class="type-signature"> : <a href="Sun.html">Sun</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L325">Scene/Scene.js 325</a>
</div>
</h4>
</div>
<div class="description">
The <a href="Sun.html"><code>Sun</code></a>.
</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="sunBloom">
<a href="#sunBloom" class="doc-link"></a>
sunBloom<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L333">Scene/Scene.js 333</a>
</div>
</h4>
</div>
<div class="description">
Uses a bloom filter on the sun when enabled.
</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="terrainProvider">
<a href="#terrainProvider" class="doc-link"></a>
terrainProvider<span class="type-signature"> : <a href="TerrainProvider.html">TerrainProvider</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1145">Scene/Scene.js 1145</a>
</div>
</h4>
</div>
<div class="description">
The terrain provider providing surface geometry for the globe.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="terrainProviderChanged">
<a href="#terrainProviderChanged" class="doc-link"></a>
<span class="type-signature attribute-readonly">readonly</span> terrainProviderChanged<span class="type-signature"> : <a href="Event.html">Event</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1167">Scene/Scene.js 1167</a>
</div>
</h4>
</div>
<div class="description">
Gets an event that's raised when the terrain provider is changed
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="useDepthPicking">
<a href="#useDepthPicking" class="doc-link"></a>
useDepthPicking<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L509">Scene/Scene.js 509</a>
</div>
</h4>
</div>
<div class="description">
When <code>true</code>, enables picking using the depth buffer.
</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="useWebVR">
<a href="#useWebVR" class="doc-link"></a>
useWebVR<span class="type-signature"> : Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1426">Scene/Scene.js 1426</a>
</div>
</h4>
</div>
<div class="description">
When <code>true</code>, splits the scene into two viewports with steroscopic views for the left and right eyes.
Used for cardboard and WebVR.
</div>
<dl class="details">
<span class="details-header">Default Value:</span>
<code class="language-javascript">false</code>
</dl>
<h3 class="subsection-title">Methods</h3>
<div class="nameContainer">
<h4 class="name" id="cartesianToCanvasCoordinates">
<a href="#cartesianToCanvasCoordinates" class="doc-link"></a>
cartesianToCanvasCoordinates<span class="signature">(position, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4350">Scene/Scene.js 4350</a>
</div>
</h4>
</div>
<div class="description">
Transforms a position in cartesian coordinates to canvas coordinates. This is commonly used to place an
HTML element at the same screen position as an object in the scene.
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>position</code></td>
<td class="type">
<span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
</td>
<td class="description last">
The position in cartesian coordinates.</td>
</tr>
<tr>
<td class="name"><code>result</code></td>
<td class="type">
<span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
</td>
<td class="description last">
<span class="optional">optional</span>
An optional object to return the input position transformed to canvas coordinates.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
</div>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">// Output the canvas position of longitude/latitude (0, 0) every time the mouse moves.
const scene = widget.scene;
const ellipsoid = scene.globe.ellipsoid;
const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
handler.setInputAction(function(movement) {
console.log(scene.cartesianToCanvasCoordinates(position));
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);</code></pre>
</dl>
<div class="nameContainer">
<h4 class="name" id="clampToHeight">
<a href="#clampToHeight" class="doc-link"></a>
clampToHeight<span class="signature">(cartesian, <span class="optional">objectsToExclude</span>, <span class="optional">width</span>, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian3.html">Cartesian3</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4236">Scene/Scene.js 4236</a>
</div>
</h4>
</div>
<div class="description">
Clamps the given cartesian position to the scene geometry along the geodetic surface normal. Returns the
clamped position or <code>undefined</code> if there was no scene geometry to clamp to. May be used to clamp
objects to the globe, 3D Tiles, or primitives in the scene.
<p>
This function only clamps to globe tiles and 3D Tiles that are rendered in the current view. Clamps to
all other primitives regardless of their visibility.
</p>
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>cartesian</code></td>
<td class="type">
<span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
</td>
<td class="default">
</td>
<td class="description last">
The cartesian position.</td>
</tr>
<tr>
<td class="name"><code>objectsToExclude</code></td>
<td class="type">
<span class="param-type">Array.&lt;Object></span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
A list of primitives, entities, or 3D Tiles features to not clamp to.</td>
</tr>
<tr>
<td class="name"><code>width</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">0.1</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Width of the intersection volume in meters.</td>
</tr>
<tr>
<td class="name"><code>result</code></td>
<td class="type">
<span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
An optional object to return the clamped position.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
The modified result parameter or a new Cartesian3 instance if one was not provided. This may be <code>undefined</code> if there was no scene geometry to clamp to.
</div>
<h5>Throws:</h5>
<ul>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: clampToHeight is only supported in 3D mode.
</div>
</li>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: clampToHeight requires depth texture support. Check clampToHeightSupported.
</div>
</li>
</ul>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">// Clamp an entity to the underlying scene geometry
const position = entity.position.getValue(Cesium.JulianDate.now());
entity.position = viewer.scene.clampToHeight(position);</code></pre>
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#sampleHeight">Scene#sampleHeight</a></li>
<li><a href="Scene.html#sampleHeightMostDetailed">Scene#sampleHeightMostDetailed</a></li>
<li><a href="Scene.html#clampToHeightMostDetailed">Scene#clampToHeightMostDetailed</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="clampToHeightMostDetailed">
<a href="#clampToHeightMostDetailed" class="doc-link"></a>
clampToHeightMostDetailed<span class="signature">(cartesians, <span class="optional">objectsToExclude</span>, <span class="optional">width</span>)</span> &rarr; <span class="type-signature returnType">Promise.&lt;Array.&lt;<a href="Cartesian3.html">Cartesian3</a>>></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4319">Scene/Scene.js 4319</a>
</div>
</h4>
</div>
<div class="description">
Initiates an asynchronous <a href="Scene.html#clampToHeight"><code>Scene#clampToHeight</code></a> query for an array of <a href="Cartesian3.html"><code>Cartesian3</code></a> positions
using the maximum level of detail for 3D Tilesets in the scene. Returns a promise that is resolved when
the query completes. Each position is modified in place. If a position cannot be clamped because no geometry
can be sampled at that location, or another error occurs, the element in the array is set to undefined.
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>cartesians</code></td>
<td class="type">
<span class="param-type">Array.&lt;<a href="Cartesian3.html">Cartesian3</a>></span>
</td>
<td class="default">
</td>
<td class="description last">
The cartesian positions to update with clamped positions.</td>
</tr>
<tr>
<td class="name"><code>objectsToExclude</code></td>
<td class="type">
<span class="param-type">Array.&lt;Object></span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
A list of primitives, entities, or 3D Tiles features to not clamp to.</td>
</tr>
<tr>
<td class="name"><code>width</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">0.1</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Width of the intersection volume in meters.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
A promise that resolves to the provided list of positions when the query has completed.
</div>
<h5>Throws:</h5>
<ul>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: clampToHeightMostDetailed is only supported in 3D mode.
</div>
</li>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: clampToHeightMostDetailed requires depth texture support. Check clampToHeightSupported.
</div>
</li>
</ul>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">const cartesians = [
entities[0].position.getValue(Cesium.JulianDate.now()),
entities[1].position.getValue(Cesium.JulianDate.now())
];
const promise = viewer.scene.clampToHeightMostDetailed(cartesians);
promise.then(function(updatedCartesians) {
entities[0].position = updatedCartesians[0];
entities[1].position = updatedCartesians[1];
}</code></pre>
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#clampToHeight">Scene#clampToHeight</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="completeMorph">
<a href="#completeMorph" class="doc-link"></a>
completeMorph<span class="signature">()</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4357">Scene/Scene.js 4357</a>
</div>
</h4>
</div>
<div class="description">
Instantly completes an active transition.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="destroy">
<a href="#destroy" class="doc-link"></a>
destroy<span class="signature">()</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4439">Scene/Scene.js 4439</a>
</div>
</h4>
</div>
<div class="description">
Destroys the WebGL resources held by this object. Destroying an object allows for deterministic
release of WebGL resources, instead of relying on the garbage collector to destroy this object.
<br /><br />
Once an object is destroyed, it should not be used; calling any function other than
<code>isDestroyed</code> will result in a <a href="DeveloperError.html"><code>DeveloperError</code></a> exception. Therefore,
assign the return value (<code>undefined</code>) to the object as done in the example.
</div>
<h5>Throws:</h5>
<ul>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: This object was destroyed, i.e., destroy() was called.
</div>
</li>
</ul>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">scene = scene &amp;&amp; scene.destroy();</code></pre>
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#isDestroyed">Scene#isDestroyed</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="drillPick">
<a href="#drillPick" class="doc-link"></a>
drillPick<span class="signature">(windowPosition, <span class="optional">limit</span>, <span class="optional">width</span>, <span class="optional">height</span>)</span> &rarr; <span class="type-signature returnType">Array.&lt;*></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4029">Scene/Scene.js 4029</a>
</div>
</h4>
</div>
<div class="description">
Returns a list of objects, each containing a `primitive` property, for all primitives at
a particular window coordinate position. Other properties may also be set depending on the
type of primitive and may be used to further identify the picked object. The primitives in
the list are ordered by their visual order in the scene (front to back).
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>windowPosition</code></td>
<td class="type">
<span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
</td>
<td class="default">
</td>
<td class="description last">
Window coordinates to perform picking on.</td>
</tr>
<tr>
<td class="name"><code>limit</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
If supplied, stop drilling after collecting this many picks.</td>
</tr>
<tr>
<td class="name"><code>width</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">3</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Width of the pick rectangle.</td>
</tr>
<tr>
<td class="name"><code>height</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">3</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Height of the pick rectangle.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
Array of objects, each containing 1 picked primitives.
</div>
<h5>Throws:</h5>
<ul>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: windowPosition is undefined.
</div>
</li>
</ul>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">const pickedObjects = scene.drillPick(new Cesium.Cartesian2(100.0, 200.0));</code></pre>
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#pick">Scene#pick</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="getCompressedTextureFormatSupported">
<a href="#getCompressedTextureFormatSupported" class="doc-link"></a>
getCompressedTextureFormatSupported<span class="signature">(format)</span> &rarr; <span class="type-signature returnType">boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L1671">Scene/Scene.js 1671</a>
</div>
</h4>
</div>
<div class="description">
Determines if a compressed texture format is supported.
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>format</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="description last">
The texture format. May be the name of the format or the WebGL extension name, e.g. s3tc or WEBGL_compressed_texture_s3tc.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
Whether or not the format is supported.
</div>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="isDestroyed">
<a href="#isDestroyed" class="doc-link"></a>
isDestroyed<span class="signature">()</span> &rarr; <span class="type-signature returnType">Boolean</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4419">Scene/Scene.js 4419</a>
</div>
</h4>
</div>
<div class="description">
Returns true if this object was destroyed; otherwise, false.
<br /><br />
If this object was destroyed, it should not be used; calling any function other than
<code>isDestroyed</code> will result in a <a href="DeveloperError.html"><code>DeveloperError</code></a> exception.
</div>
<h5>Returns:</h5>
<div class="param-desc">
<code>true</code> if this object was destroyed; otherwise, <code>false</code>.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#destroy">Scene#destroy</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="morphTo2D">
<a href="#morphTo2D" class="doc-link"></a>
morphTo2D<span class="signature">(<span class="optional">duration</span>)</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4365">Scene/Scene.js 4365</a>
</div>
</h4>
</div>
<div class="description">
Asynchronously transitions the scene to 2D.
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>duration</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">2.0</code>
</td>
<td class="description last">
<span class="optional">optional</span>
The amount of time, in seconds, for transition animations to complete.</td>
</tr>
</tbody>
</table>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="morphTo3D">
<a href="#morphTo3D" class="doc-link"></a>
morphTo3D<span class="signature">(<span class="optional">duration</span>)</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4397">Scene/Scene.js 4397</a>
</div>
</h4>
</div>
<div class="description">
Asynchronously transitions the scene to 3D.
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>duration</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">2.0</code>
</td>
<td class="description last">
<span class="optional">optional</span>
The amount of time, in seconds, for transition animations to complete.</td>
</tr>
</tbody>
</table>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="morphToColumbusView">
<a href="#morphToColumbusView" class="doc-link"></a>
morphToColumbusView<span class="signature">(<span class="optional">duration</span>)</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4381">Scene/Scene.js 4381</a>
</div>
</h4>
</div>
<div class="description">
Asynchronously transitions the scene to Columbus View.
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>duration</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">2.0</code>
</td>
<td class="description last">
<span class="optional">optional</span>
The amount of time, in seconds, for transition animations to complete.</td>
</tr>
</tbody>
</table>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="pick">
<a href="#pick" class="doc-link"></a>
pick<span class="signature">(windowPosition, <span class="optional">width</span>, <span class="optional">height</span>)</span> &rarr; <span class="type-signature returnType">Object</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L3956">Scene/Scene.js 3956</a>
</div>
</h4>
</div>
<div class="description">
Returns an object with a `primitive` property that contains the first (top) primitive in the scene
at a particular window coordinate or undefined if nothing is at the location. Other properties may
potentially be set depending on the type of primitive and may be used to further identify the picked object.
<p>
When a feature of a 3D Tiles tileset is picked, <code>pick</code> returns a <a href="Cesium3DTileFeature.html"><code>Cesium3DTileFeature</code></a> object.
</p>
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>windowPosition</code></td>
<td class="type">
<span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
</td>
<td class="default">
</td>
<td class="description last">
Window coordinates to perform picking on.</td>
</tr>
<tr>
<td class="name"><code>width</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">3</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Width of the pick rectangle.</td>
</tr>
<tr>
<td class="name"><code>height</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">3</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Height of the pick rectangle.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
Object containing the picked primitive.
</div>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">// On mouse over, color the feature yellow.
handler.setInputAction(function(movement) {
const feature = scene.pick(movement.endPosition);
if (feature instanceof Cesium.Cesium3DTileFeature) {
feature.color = Cesium.Color.YELLOW;
}
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);</code></pre>
</dl>
<div class="nameContainer">
<h4 class="name" id="pickPosition">
<a href="#pickPosition" class="doc-link"></a>
pickPosition<span class="signature">(windowPosition, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian3.html">Cartesian3</a></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4006">Scene/Scene.js 4006</a>
</div>
</h4>
</div>
<div class="description">
Returns the cartesian position reconstructed from the depth buffer and window position.
<p>
The position reconstructed from the depth buffer in 2D may be slightly different from those
reconstructed in 3D and Columbus view. This is caused by the difference in the distribution
of depth values of perspective and orthographic projection.
</p>
<p>
Set <a href="Scene.html#pickTranslucentDepth"><code>Scene#pickTranslucentDepth</code></a> to <code>true</code> to include the depth of
translucent primitives; otherwise, this essentially picks through translucent primitives.
</p>
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>windowPosition</code></td>
<td class="type">
<span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
</td>
<td class="description last">
Window coordinates to perform picking on.</td>
</tr>
<tr>
<td class="name"><code>result</code></td>
<td class="type">
<span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
</td>
<td class="description last">
<span class="optional">optional</span>
The object on which to restore the result.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
The cartesian position.
</div>
<h5>Throws:</h5>
<ul>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: Picking from the depth buffer is not supported. Check pickPositionSupported.
</div>
</li>
</ul>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="render">
<a href="#render" class="doc-link"></a>
render<span class="signature">(<span class="optional">time</span>)</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L3810">Scene/Scene.js 3810</a>
</div>
</h4>
</div>
<div class="description">
Update and render the scene. It is usually not necessary to call this function
directly because <a href="CesiumWidget.html"><code>CesiumWidget</code></a> or <a href="Viewer.html"><code>Viewer</code></a> do it automatically.
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>time</code></td>
<td class="type">
<span class="param-type"><a href="JulianDate.html">JulianDate</a></span>
</td>
<td class="description last">
<span class="optional">optional</span>
The simulation time at which to render.</td>
</tr>
</tbody>
</table>
<dl class="details">
</dl>
<div class="nameContainer">
<h4 class="name" id="requestRender">
<a href="#requestRender" class="doc-link"></a>
requestRender<span class="signature">()</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L3920">Scene/Scene.js 3920</a>
</div>
</h4>
</div>
<div class="description">
Requests a new rendered frame when <a href="Scene.html#requestRenderMode"><code>Scene#requestRenderMode</code></a> is set to <code>true</code>.
The render rate will not exceed the <a href="CesiumWidget.html#targetFrameRate"><code>CesiumWidget#targetFrameRate</code></a>.
</div>
<dl class="details">
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#requestRenderMode">Scene#requestRenderMode</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="sampleHeight">
<a href="#sampleHeight" class="doc-link"></a>
sampleHeight<span class="signature">(position, <span class="optional">objectsToExclude</span>, <span class="optional">width</span>)</span> &rarr; <span class="type-signature returnType">Number</span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4205">Scene/Scene.js 4205</a>
</div>
</h4>
</div>
<div class="description">
Returns the height of scene geometry at the given cartographic position or <code>undefined</code> if there was no
scene geometry to sample height from. The height of the input position is ignored. May be used to clamp objects to
the globe, 3D Tiles, or primitives in the scene.
<p>
This function only samples height from globe tiles and 3D Tiles that are rendered in the current view. Samples height
from all other primitives regardless of their visibility.
</p>
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>position</code></td>
<td class="type">
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>
</td>
<td class="default">
</td>
<td class="description last">
The cartographic position to sample height from.</td>
</tr>
<tr>
<td class="name"><code>objectsToExclude</code></td>
<td class="type">
<span class="param-type">Array.&lt;Object></span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
A list of primitives, entities, or 3D Tiles features to not sample height from.</td>
</tr>
<tr>
<td class="name"><code>width</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">0.1</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Width of the intersection volume in meters.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
The height. This may be <code>undefined</code> if there was no scene geometry to sample height from.
</div>
<h5>Throws:</h5>
<ul>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: sampleHeight is only supported in 3D mode.
</div>
</li>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: sampleHeight requires depth texture support. Check sampleHeightSupported.
</div>
</li>
</ul>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">const position = new Cesium.Cartographic(-1.31968, 0.698874);
const height = viewer.scene.sampleHeight(position);
console.log(height);</code></pre>
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#clampToHeight">Scene#clampToHeight</a></li>
<li><a href="Scene.html#clampToHeightMostDetailed">Scene#clampToHeightMostDetailed</a></li>
<li><a href="Scene.html#sampleHeightMostDetailed">Scene#sampleHeightMostDetailed</a></li>
</ul>
</dl>
<div class="nameContainer">
<h4 class="name" id="sampleHeightMostDetailed">
<a href="#sampleHeightMostDetailed" class="doc-link"></a>
sampleHeightMostDetailed<span class="signature">(positions, <span class="optional">objectsToExclude</span>, <span class="optional">width</span>)</span> &rarr; <span class="type-signature returnType">Promise.&lt;Array.&lt;<a href="Cartographic.html">Cartographic</a>>></span>
<div class="source-link rightLinks">
<a href="https://github.com/CesiumGS/cesium/blob/1.91/Source/Scene/Scene.js#L4279">Scene/Scene.js 4279</a>
</div>
</h4>
</div>
<div class="description">
Initiates an asynchronous <a href="Scene.html#sampleHeight"><code>Scene#sampleHeight</code></a> query for an array of <a href="Cartographic.html"><code>Cartographic</code></a> positions
using the maximum level of detail for 3D Tilesets in the scene. The height of the input positions is ignored.
Returns a promise that is resolved when the query completes. Each point height is modified in place.
If a height cannot be determined because no geometry can be sampled at that location, or another error occurs,
the height is set to undefined.
</div>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>positions</code></td>
<td class="type">
<span class="param-type">Array.&lt;<a href="Cartographic.html">Cartographic</a>></span>
</td>
<td class="default">
</td>
<td class="description last">
The cartographic positions to update with sampled heights.</td>
</tr>
<tr>
<td class="name"><code>objectsToExclude</code></td>
<td class="type">
<span class="param-type">Array.&lt;Object></span>
</td>
<td class="default">
</td>
<td class="description last">
<span class="optional">optional</span>
A list of primitives, entities, or 3D Tiles features to not sample height from.</td>
</tr>
<tr>
<td class="name"><code>width</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="default">
<code class="language-javascript">0.1</code>
</td>
<td class="description last">
<span class="optional">optional</span>
Width of the intersection volume in meters.</td>
</tr>
</tbody>
</table>
<h5>Returns:</h5>
<div class="param-desc">
A promise that resolves to the provided list of positions when the query has completed.
</div>
<h5>Throws:</h5>
<ul>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: sampleHeightMostDetailed is only supported in 3D mode.
</div>
</li>
<li>
<div class="param-desc">
<span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
: sampleHeightMostDetailed requires depth texture support. Check sampleHeightSupported.
</div>
</li>
</ul>
<dl class="details">
<h5>Example:</h5>
<pre><code class="language-javascript">const positions = [
new Cesium.Cartographic(-1.31968, 0.69887),
new Cesium.Cartographic(-1.10489, 0.83923)
];
const promise = viewer.scene.sampleHeightMostDetailed(positions);
promise.then(function(updatedPosition) {
// positions[0].height and positions[1].height have been updated.
// updatedPositions is just a reference to positions.
}</code></pre>
<h5>See:</h5>
<ul class="see-list">
<li><a href="Scene.html#sampleHeight">Scene#sampleHeight</a></li>
</ul>
</dl>
</article>
</section>
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>
</footer>
</div>
<div class="nav">
<div class="menu">
<input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
<ul id="ClassList"><li data-name="Animation"><a href="Animation.html">Animation</a></li><li data-name="AnimationViewModel"><a href="AnimationViewModel.html">AnimationViewModel</a></li><li data-name="Appearance"><a href="Appearance.html">Appearance</a></li><li data-name="ArcGisMapServerImageryProvider"><a href="ArcGisMapServerImageryProvider.html">ArcGisMapServerImageryProvider</a></li><li data-name="ArcGISTiledElevationTerrainProvider"><a href="ArcGISTiledElevationTerrainProvider.html">ArcGISTiledElevationTerrainProvider</a></li><li data-name="ArcType"><a href="global.html#ArcType">ArcType</a></li><li data-name="AssociativeArray"><a href="AssociativeArray.html">AssociativeArray</a></li><li data-name="Axis"><a href="global.html#Axis">Axis</a></li><li data-name="AxisAlignedBoundingBox"><a href="AxisAlignedBoundingBox.html">AxisAlignedBoundingBox</a></li><li data-name="backFaceCulling"><a href="global.html#backFaceCulling">backFaceCulling</a></li><li data-name="barycentricCoordinates"><a href="global.html#barycentricCoordinates">barycentricCoordinates</a></li><li data-name="BaseLayerPicker"><a href="BaseLayerPicker.html">BaseLayerPicker</a></li><li data-name="BaseLayerPickerViewModel"><a href="BaseLayerPickerViewModel.html">BaseLayerPickerViewModel</a></li><li data-name="Billboard"><a href="Billboard.html">Billboard</a></li><li data-name="BillboardCollection"><a href="BillboardCollection.html">BillboardCollection</a></li><li data-name="BillboardGraphics"><a href="BillboardGraphics.html">BillboardGraphics</a></li><li data-name="BillboardVisualizer"><a href="BillboardVisualizer.html">BillboardVisualizer</a></li><li data-name="binarySearch"><a href="global.html#binarySearch">binarySearch</a></li><li data-name="binarySearchComparator"><a href="global.html#binarySearchComparator">binarySearchComparator</a></li><li data-name="BingMapsGeocoderService"><a href="BingMapsGeocoderService.html">BingMapsGeocoderService</a></li><li data-name="BingMapsImageryProvider"><a href="BingMapsImageryProvider.html">BingMapsImageryProvider</a></li><li data-name="BingMapsStyle"><a href="global.html#BingMapsStyle">BingMapsStyle</a></li><li data-name="BlendEquation"><a href="global.html#BlendEquation">BlendEquation</a></li><li data-name="BlendFunction"><a href="global.html#BlendFunction">BlendFunction</a></li><li data-name="BlendingState"><a href="BlendingState.html">BlendingState</a></li><li data-name="BlendOption"><a href="global.html#BlendOption">BlendOption</a></li><li data-name="BoundingRectangle"><a href="BoundingRectangle.html">BoundingRectangle</a></li><li data-name="BoundingSphere"><a href="BoundingSphere.html">BoundingSphere</a></li><li data-name="boundingSphere"><a href="global.html#boundingSphere">boundingSphere</a></li><li data-name="BoxEmitter"><a href="BoxEmitter.html">BoxEmitter</a></li><li data-name="BoxGeometry"><a href="BoxGeometry.html">BoxGeometry</a></li><li data-name="BoxGeometryUpdater"><a href="BoxGeometryUpdater.html">BoxGeometryUpdater</a></li><li data-name="BoxGraphics"><a href="BoxGraphics.html">BoxGraphics</a></li><li data-name="BoxOutlineGeometry"><a href="BoxOutlineGeometry.html">BoxOutlineGeometry</a></li><li data-name="buildModuleUrl"><a href="global.html#buildModuleUrl">buildModuleUrl</a></li><li data-name="CallbackProperty"><a href="CallbackProperty.html">CallbackProperty</a></li><li data-name="Camera"><a href="Camera.html">Camera</a></li><li data-name="CameraEventAggregator"><a href="CameraEventAggregator.html">CameraEventAggregator</a></li><li data-name="CameraEventType"><a href="global.html#CameraEventType">CameraEventType</a></li><li data-name="cancelAnimationFrame"><a href="global.html#cancelAnimationFrame">cancelAnimationFrame</a></li><li data-name="Cartesian2"><a href="Cartesian2.html">Cartesian2</a></li><li data-name="Cartesian3"><a href="Cartesian3.html">Cartesian3</a></li><li data-name="Cartesian4"><a href="Cartesian4.html">Cartesian4</a></li><li data-name="Cartographic"><a href="Cartographic.html">Cartographic</a></li><li data-name="CartographicGeocoderService"><a href="CartographicGeocoderServic
</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>