clock |
Clock
|
new Clock()
|
optional
The clock to use to control current time. |
imageryProvider |
ImageryProvider
|
new BingMapsImageryProvider()
|
optional
The imagery provider to serve as the base layer. If set to false , no imagery provider will be added. |
terrainProvider |
TerrainProvider
|
new EllipsoidTerrainProvider
|
optional
The terrain provider. |
skyBox |
SkyBox
|
|
optional
The skybox used to render the stars. When undefined , the default stars are used. If set to false , no skyBox, Sun, or Moon will be added. |
skyAtmosphere |
SkyAtmosphere
|
|
optional
Blue sky, and the glow around the Earth's limb. Set to false to turn it off. |
sceneMode |
SceneMode
|
SceneMode.SCENE3D
|
optional
The initial scene mode. |
scene3DOnly |
Boolean
|
false
|
optional
When true , each geometry instance will only be rendered in 3D to save GPU memory. |
orderIndependentTranslucency |
Boolean
|
true
|
optional
If true and the configuration supports it, use order independent translucency. |
mapProjection |
MapProjection
|
new GeographicProjection()
|
optional
The map projection to use in 2D and Columbus View modes. |
globe |
Globe
|
new Globe(mapProjection.ellipsoid)
|
optional
The globe to use in the scene. If set to false , no globe will be added. |
useDefaultRenderLoop |
Boolean
|
true
|
optional
True if this widget should control the render loop, false otherwise. |
targetFrameRate |
Number
|
|
optional
The target frame rate when using the default render loop. |
showRenderLoopErrors |
Boolean
|
true
|
optional
If true, this widget will automatically display an HTML panel to the user containing the error, if a render loop error occurs. |
contextOptions |
Object
|
|
optional
Context and WebGL creation properties corresponding to options passed to Scene . |
creditContainer |
Element
|
String
|
|
optional
The DOM element or ID that will contain the CreditDisplay . If not specified, the credits are added
to the bottom of the widget itself. |
creditViewport |
Element
|
String
|
|
optional
The DOM element or ID that will contain the credit pop up created by the CreditDisplay . If not specified, it will appear over the widget itself. |
terrainExaggeration |
Number
|
1.0
|
optional
A scalar used to exaggerate the terrain. Note that terrain exaggeration will not modify any other primitive as they are positioned relative to the ellipsoid. |
shadows |
Boolean
|
false
|
optional
Determines if shadows are cast by the sun. |
terrainShadows |
ShadowMode
|
ShadowMode.RECEIVE_ONLY
|
optional
Determines if the terrain casts or receives shadows from the sun. |
mapMode2D |
MapMode2D
|
MapMode2D.INFINITE_SCROLL
|
optional
Determines if the 2D map is rotatable or can be scrolled infinitely in the horizontal direction. |
requestRenderMode |
Boolean
|
false
|
optional
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 Scene#requestRender 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 Improving Performance with Explicit Rendering. |
maximumRenderTimeChange |
Number
|
0.0
|
optional
If requestRenderMode is true, this value defines the maximum change in simulation time allowed before a render is requested. See Improving Performance with Explicit Rendering. |