UNPKG

@arcgis/core

Version:

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

3 lines (2 loc) 1.06 kB
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as o}from"tslib";import{JSONSupport as e}from"../../../core/JSONSupport.js";import{property as r,subclass as t}from"../../../core/accessorSupport/decorators.js";import{enumeration as i}from"../../../core/accessorSupport/decorators/enumeration.js";var s;let n=s=class extends e{constructor(o){super(o),this.type="snowy",this.cloudCover=.5,this.precipitation=.5,this.snowCover="disabled"}clone(){return new s({cloudCover:this.cloudCover,precipitation:this.precipitation,snowCover:this.snowCover})}};o([i({snowy:"snowy"}),r({json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),o([r({type:Number,nonNullable:!0,range:{min:0,max:1},json:{write:!0}})],n.prototype,"cloudCover",void 0),o([r({type:Number,nonNullable:!0,range:{min:0,max:1},json:{write:!0}})],n.prototype,"precipitation",void 0),o([r({type:["enabled","disabled"],nonNullable:!0,json:{write:!0}})],n.prototype,"snowCover",void 0),n=s=o([t("esri.views.3d.environment.SnowyWeather")],n);const p=n;export{p as default};