/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as o}from"../core/JSONSupport.js";import{clone as e}from"../core/lang.js";import{property as r,subclass as s}from"../core/accessorSupport/decorators.js";import i from"./Glow.js";var l;let n=class extends o{static{l=this}constructor(t){super(t),this.type="virtual",this.directShadowsEnabled=!1,this.glow=null}clone(){return new l(this.cloneConstructProperties())}cloneConstructProperties(){return{directShadowsEnabled:this.directShadowsEnabled,glow:e(this.glow)}}};t([r({readOnly:!0,type:["virtual"],json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),t([r({type:Boolean,json:{default:!1,name:"directShadows",write:!0}})],n.prototype,"directShadowsEnabled",void 0),t([r({type:i,json:{write:!0}})],n.prototype,"glow",void 0),n=l=t([s("esri.webscene.VirtualLighting")],n);const a=n;export{a as default};
