Custom Gis Application with Arcgis Javascript API with modern layouting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

5 lines
977 B

// All material copyright Esri, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.30/esri/copyright.txt for details.
//>>built
define(["exports","../../webgl/enums"],function(a,c){a.makeMaterialParameters=function(b={}){return{color:[1,1,1],opacity:1,alphaMode:"OPAQUE",alphaCutoff:.5,doubleSided:!1,castShadows:!0,receiveShadows:!0,receiveAmbientOcclustion:!0,textureColor:null,textureNormal:null,textureOcclusion:null,textureEmissive:null,textureMetallicRoughness:null,colorTextureTransform:null,normalTextureTransform:null,occlusionTextureTransform:null,emissiveTextureTransform:null,metallicRoughnessTextureTransform:null,emissiveFactor:[0,
0,0],metallicFactor:1,roughnessFactor:1,colorMixMode:"multiply",...b}};a.makeTextureSource=function(b,d={}){return{data:b,parameters:{wrap:{s:c.TextureWrapMode.REPEAT,t:c.TextureWrapMode.REPEAT,...d.wrap},noUnpackFlip:!0,mipmap:!1,...d}}};Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});