types

ESM: import * as types from "@arcgis/core/webscene/types.js";
CDN: const types = await $arcgis.import("@arcgis/core/webscene/types.js");
Object: @arcgis/core/webscene/types
Since: ArcGIS Maps SDK for JavaScript 4.33

A module for importing types used in WebScene modules.

Type Definitions

WebSceneThumbnailSize

Type Definition
WebSceneThumbnailSize

Options for the thumbnail size when updating a web scene thumbnail from a view.

Properties
width Number

The width of the thumbnail.

height Number

The height of the thumbnail.

See also

WebSceneUpdateFromOptions

Type Definition
WebSceneUpdateFromOptions

Options for updating a web scene from a view.

Properties
environmentExcluded Boolean
optional
Default Value:false

Do not update the initial environment from the view.

viewpointExcluded Boolean
optional
Default Value:false

Do not update the initial viewpoint from the view.

thumbnailExcluded Boolean
optional
Default Value:false

Do not update the thumbnail from the view. If viewpointExcluded is set to true, then this will default also to true.

thumbnailSize WebSceneThumbnailSize
optional
Default Value:{ width: 600, heigth: 400 }

The size of the thumbnail. Defaults to 600x400 (ratio 1.5:1). Note that the thumbnail size may currently not be larger than the size of the view.

widgetsExcluded Boolean
optional
Default Value:false

When true, the webscene's widgets property will not be updated. When false, the definition of the first TimeSlider assigned to the View will be used to update the WebScene.widgets property.

See also

WebSceneUpdateThumbnailOptions

Type Definition
WebSceneUpdateThumbnailOptions

Options for updating a web scene thumbnail from a view.

Property
optional
Default Value:{ width: 600, heigth: 400 }

The size of the thumbnail. Defaults to 600x400 (ratio 1.5:1). Note that the thumbnail size may currently not be larger than the size of the view.

See also

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.