33862a6d5456c9f801b6f5780ed74da53bdf29e721c1a26a9ef25c7f4d0d7c7a.json 2.2 KB

1
  1. {"ast":null,"code":"import { DecalMapConfiguration } from \"../material.decalMapConfiguration.js\";\nimport { PBRBaseMaterial } from \"./pbrBaseMaterial.js\";\nObject.defineProperty(PBRBaseMaterial.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","PBRBaseMaterial","Object","defineProperty","prototype","get","_decalMap","_uniformBufferLayoutBuilt","enumerable","configurable"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Materials/PBR/pbrMaterial.decalMap.js"],"sourcesContent":["import { DecalMapConfiguration } from \"../material.decalMapConfiguration.js\";\nimport { PBRBaseMaterial } from \"./pbrBaseMaterial.js\";\nObject.defineProperty(PBRBaseMaterial.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,sCAAsC;AAC5E,SAASC,eAAe,QAAQ,sBAAsB;AACtDC,MAAM,CAACC,cAAc,CAACF,eAAe,CAACG,SAAS,EAAE,UAAU,EAAE;EACzDC,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":[]}