@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.19 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{_ as e}from"../../../chunks/tslib.es6.js";import r from"../../../core/Evented.js";import{property as t}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as o}from"../../../core/accessorSupport/decorators/subclass.js";import n from"../../../webscene/VirtualLighting.js";var s;let c=s=class extends(r.EventedMixin(n)){constructor(e){super(e),this.cameraTrackingEnabled=!0}clone(){return new s({...this.cloneConstructProperties(),cameraTrackingEnabled:this.cameraTrackingEnabled})}static fromWebsceneLighting(e){return new s(e.cloneConstructProperties())}cloneWithWebsceneLighting(e){const r=this.clone();return r.directShadowsEnabled=e.directShadowsEnabled,r}cloneNonPersistentConstructProperties(){return{cameraTrackingEnabled:this.cameraTrackingEnabled}}};e([t({type:Boolean})],c.prototype,"cameraTrackingEnabled",void 0),c=s=e([o("esri.views.3d.environment.VirtualLighting")],c);const a=c;export{a as default};