@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
25 lines (23 loc) • 1.27 kB
TypeScript
import type { JSONSupport } from "../../core/JSONSupport.js";
export interface BackgroundProperties {}
/**
* The background of a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/) that lies behind the sky, atmosphere and stars.
*
* Background is a base class. Use [ColorBackground](https://developers.arcgis.com/javascript/latest/references/core/webscene/background/ColorBackground/) subclass for setting
* a color as the background of a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
*
* @since 4.8
* @see [ColorBackground](https://developers.arcgis.com/javascript/latest/references/core/webscene/background/ColorBackground/)
* @see [SceneView.environment.background](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#environment)
* @see [Sample - Custom background for SceneView](https://developers.arcgis.com/javascript/latest/sample-code/sceneview-background/)
*/
export default class Background extends JSONSupport {
constructor(properties?: BackgroundProperties);
/**
* Creates a deep clone of the Background.
*
* @returns A deep clone of the object that
* invoked this method.
*/
clone(): Background;
}