UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 1 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ import{_ as o}from"../../../chunks/tslib.es6.js";import r from"../../../core/JSONSupport.js";import{property as e}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{enumeration as s}from"../../../core/accessorSupport/decorators/enumeration.js";import{subclass as t}from"../../../core/accessorSupport/decorators/subclass.js";var c;let n=c=class extends r{constructor(o){super(o),this.type="sunny",this.cloudCover=.5}clone(){return new c({cloudCover:this.cloudCover})}};o([s({sunny:"sunny"}),e({json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),o([e({type:Number,nonNullable:!0,range:{min:0,max:1},json:{write:!0}})],n.prototype,"cloudCover",void 0),n=c=o([t("esri.views.3d.environment.SunnyWeather")],n);const p=n;export{p as default};