1 |
- {"ast":null,"code":"/**\n * Material types for GreasedLine\n * {@link https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param/greased_line#materialtype}\n */\nexport var GreasedLineMeshMaterialType;\n(function (GreasedLineMeshMaterialType) {\n /**\n * StandardMaterial\n */\n GreasedLineMeshMaterialType[GreasedLineMeshMaterialType[\"MATERIAL_TYPE_STANDARD\"] = 0] = \"MATERIAL_TYPE_STANDARD\";\n /**\n * PBR Material\n */\n GreasedLineMeshMaterialType[GreasedLineMeshMaterialType[\"MATERIAL_TYPE_PBR\"] = 1] = \"MATERIAL_TYPE_PBR\";\n /**\n * Simple and fast shader material without texture, light, fog, instances, ... support.\n * Just raw colored lines.\n * Dashing and visibility is supported.\n */\n GreasedLineMeshMaterialType[GreasedLineMeshMaterialType[\"MATERIAL_TYPE_SIMPLE\"] = 2] = \"MATERIAL_TYPE_SIMPLE\";\n})(GreasedLineMeshMaterialType || (GreasedLineMeshMaterialType = {}));\n/**\n * Color blending mode of the @see GreasedLineMaterial and the base material\n * {@link https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param/greased_line#colormode}\n */\nexport var GreasedLineMeshColorMode;\n(function (GreasedLineMeshColorMode) {\n /**\n * Color blending mode SET\n */\n GreasedLineMeshColorMode[GreasedLineMeshColorMode[\"COLOR_MODE_SET\"] = 0] = \"COLOR_MODE_SET\";\n /**\n * Color blending mode ADD\n */\n GreasedLineMeshColorMode[GreasedLineMeshColorMode[\"COLOR_MODE_ADD\"] = 1] = \"COLOR_MODE_ADD\";\n /**\n * Color blending mode ADD\n */\n GreasedLineMeshColorMode[GreasedLineMeshColorMode[\"COLOR_MODE_MULTIPLY\"] = 2] = \"COLOR_MODE_MULTIPLY\";\n})(GreasedLineMeshColorMode || (GreasedLineMeshColorMode = {}));\n/**\n * Color distribution type of the @see colors.\n * {@link https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param/greased_line#colordistributiontype}\n *\n */\nexport var GreasedLineMeshColorDistributionType;\n(function (GreasedLineMeshColorDistributionType) {\n /**\n * Colors distributed between segments of the line\n */\n GreasedLineMeshColorDistributionType[GreasedLineMeshColorDistributionType[\"COLOR_DISTRIBUTION_TYPE_SEGMENT\"] = 0] = \"COLOR_DISTRIBUTION_TYPE_SEGMENT\";\n /**\n * Colors distributed along the line ingoring the segments\n */\n GreasedLineMeshColorDistributionType[GreasedLineMeshColorDistributionType[\"COLOR_DISTRIBUTION_TYPE_LINE\"] = 1] = \"COLOR_DISTRIBUTION_TYPE_LINE\";\n})(GreasedLineMeshColorDistributionType || (GreasedLineMeshColorDistributionType = {}));","map":{"version":3,"names":["GreasedLineMeshMaterialType","GreasedLineMeshColorMode","GreasedLineMeshColorDistributionType"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Materials/GreasedLine/greasedLineMaterialInterfaces.js"],"sourcesContent":["/**\n * Material types for GreasedLine\n * {@link https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param/greased_line#materialtype}\n */\nexport var GreasedLineMeshMaterialType;\n(function (GreasedLineMeshMaterialType) {\n /**\n * StandardMaterial\n */\n GreasedLineMeshMaterialType[GreasedLineMeshMaterialType[\"MATERIAL_TYPE_STANDARD\"] = 0] = \"MATERIAL_TYPE_STANDARD\";\n /**\n * PBR Material\n */\n GreasedLineMeshMaterialType[GreasedLineMeshMaterialType[\"MATERIAL_TYPE_PBR\"] = 1] = \"MATERIAL_TYPE_PBR\";\n /**\n * Simple and fast shader material without texture, light, fog, instances, ... support.\n * Just raw colored lines.\n * Dashing and visibility is supported.\n */\n GreasedLineMeshMaterialType[GreasedLineMeshMaterialType[\"MATERIAL_TYPE_SIMPLE\"] = 2] = \"MATERIAL_TYPE_SIMPLE\";\n})(GreasedLineMeshMaterialType || (GreasedLineMeshMaterialType = {}));\n/**\n * Color blending mode of the @see GreasedLineMaterial and the base material\n * {@link https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param/greased_line#colormode}\n */\nexport var GreasedLineMeshColorMode;\n(function (GreasedLineMeshColorMode) {\n /**\n * Color blending mode SET\n */\n GreasedLineMeshColorMode[GreasedLineMeshColorMode[\"COLOR_MODE_SET\"] = 0] = \"COLOR_MODE_SET\";\n /**\n * Color blending mode ADD\n */\n GreasedLineMeshColorMode[GreasedLineMeshColorMode[\"COLOR_MODE_ADD\"] = 1] = \"COLOR_MODE_ADD\";\n /**\n * Color blending mode ADD\n */\n GreasedLineMeshColorMode[GreasedLineMeshColorMode[\"COLOR_MODE_MULTIPLY\"] = 2] = \"COLOR_MODE_MULTIPLY\";\n})(GreasedLineMeshColorMode || (GreasedLineMeshColorMode = {}));\n/**\n * Color distribution type of the @see colors.\n * {@link https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param/greased_line#colordistributiontype}\n *\n */\nexport var GreasedLineMeshColorDistributionType;\n(function (GreasedLineMeshColorDistributionType) {\n /**\n * Colors distributed between segments of the line\n */\n GreasedLineMeshColorDistributionType[GreasedLineMeshColorDistributionType[\"COLOR_DISTRIBUTION_TYPE_SEGMENT\"] = 0] = \"COLOR_DISTRIBUTION_TYPE_SEGMENT\";\n /**\n * Colors distributed along the line ingoring the segments\n */\n GreasedLineMeshColorDistributionType[GreasedLineMeshColorDistributionType[\"COLOR_DISTRIBUTION_TYPE_LINE\"] = 1] = \"COLOR_DISTRIBUTION_TYPE_LINE\";\n})(GreasedLineMeshColorDistributionType || (GreasedLineMeshColorDistributionType = {}));\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA,OAAO,IAAIA,2BAA2B;AACtC,CAAC,UAAUA,2BAA2B,EAAE;EACpC;AACJ;AACA;EACIA,2BAA2B,CAACA,2BAA2B,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,GAAG,wBAAwB;EACjH;AACJ;AACA;EACIA,2BAA2B,CAACA,2BAA2B,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,GAAG,mBAAmB;EACvG;AACJ;AACA;AACA;AACA;EACIA,2BAA2B,CAACA,2BAA2B,CAAC,sBA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