019a761bbb842e0d701d7cbf170aa492d71dd236d243f701a18c8bde71c3fe92.json 2.2 KB

1
  1. {"ast":null,"code":"import { DecalMapConfiguration } from \"./material.decalMapConfiguration.js\";\nimport { StandardMaterial } from \"./standardMaterial.js\";\nObject.defineProperty(StandardMaterial.prototype, \"decalMap\", {\n get: function () {\n if (!this._decalMap) {\n if (this._uniformBufferLayoutBuilt) {\n // Material already used to display a mesh, so it's invalid to add the decal map plugin at that point\n // Returns null instead of having new DecalMapConfiguration throws an exception\n return null;\n }\n this._decalMap = new DecalMapConfiguration(this);\n }\n return this._decalMap;\n },\n enumerable: true,\n configurable: true\n});","map":{"version":3,"names":["DecalMapConfiguration","StandardMaterial","Object","defineProperty","prototype","get","_decalMap","_uniformBufferLayoutBuilt","enumerable","configurable"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Materials/standardMaterial.decalMap.js"],"sourcesContent":["import { DecalMapConfiguration } from \"./material.decalMapConfiguration.js\";\nimport { StandardMaterial } from \"./standardMaterial.js\";\nObject.defineProperty(StandardMaterial.prototype, \"decalMap\", {\n get: function () {\n if (!this._decalMap) {\n if (this._uniformBufferLayoutBuilt) {\n // Material already used to display a mesh, so it's invalid to add the decal map plugin at that point\n // Returns null instead of having new DecalMapConfiguration throws an exception\n return null;\n }\n this._decalMap = new DecalMapConfiguration(this);\n }\n return this._decalMap;\n },\n enumerable: true,\n configurable: true,\n});\n"],"mappings":"AAAA,SAASA,qBAAqB,QAAQ,qCAAqC;AAC3E,SAASC,gBAAgB,QAAQ,uBAAuB;AACxDC,MAAM,CAACC,cAAc,CAACF,gBAAgB,CAACG,SAAS,EAAE,UAAU,EAAE;EAC1DC,GAAG,EAAE,SAAAA,CAAA,EAAY;IACb,IAAI,CAAC,IAAI,CAACC,SAAS,EAAE;MACjB,IAAI,IAAI,CAACC,yBAAyB,EAAE;QAChC;QACA;QACA,OAAO,IAAI;MACf;MACA,IAAI,CAACD,SAAS,GAAG,IAAIN,qBAAqB,CAAC,IAAI,CAAC;IACpD;IACA,OAAO,IAAI,CAACM,SAAS;EACzB,CAAC;EACDE,UAAU,EAAE,IAAI;EAChBC,YAAY,EAAE;AAClB,CAAC,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}