27f7cb59e05c983e9953affee5cf537091fac83bf3412ec4bf5583cfd99d936d.json 22 KB

1
  1. {"ast":null,"code":"import { Vector2, Vector3, Vector4 } from \"../../../Maths/math.vector.js\";\nimport { RegisterClass } from \"../../../Misc/typeStore.js\";\nimport { NodeGeometryBlockConnectionPointTypes } from \"../Enums/nodeGeometryConnectionPointTypes.js\";\nimport { NodeGeometryBlock } from \"../nodeGeometryBlock.js\";\n/**\n * Block used to create a Vector2/3/4 out of individual or partial inputs\n */\nexport class VectorConverterBlock extends NodeGeometryBlock {\n /**\n * Create a new VectorConverterBlock\n * @param name defines the block name\n */\n constructor(name) {\n super(name);\n this.registerInput(\"xyzw \", NodeGeometryBlockConnectionPointTypes.Vector4, true);\n this.registerInput(\"xyz \", NodeGeometryBlockConnectionPointTypes.Vector3, true);\n this.registerInput(\"xy \", NodeGeometryBlockConnectionPointTypes.Vector2, true);\n this.registerInput(\"zw \", NodeGeometryBlockConnectionPointTypes.Vector2, true);\n this.registerInput(\"x \", NodeGeometryBlockConnectionPointTypes.Float, true);\n this.registerInput(\"y \", NodeGeometryBlockConnectionPointTypes.Float, true);\n this.registerInput(\"z \", NodeGeometryBlockConnectionPointTypes.Float, true);\n this.registerInput(\"w \", NodeGeometryBlockConnectionPointTypes.Float, true);\n this.registerOutput(\"xyzw\", NodeGeometryBlockConnectionPointTypes.Vector4);\n this.registerOutput(\"xyz\", NodeGeometryBlockConnectionPointTypes.Vector3);\n this.registerOutput(\"xy\", NodeGeometryBlockConnectionPointTypes.Vector2);\n this.registerOutput(\"zw\", NodeGeometryBlockConnectionPointTypes.Vector2);\n this.registerOutput(\"x\", NodeGeometryBlockConnectionPointTypes.Float);\n this.registerOutput(\"y\", NodeGeometryBlockConnectionPointTypes.Float);\n this.registerOutput(\"z\", NodeGeometryBlockConnectionPointTypes.Float);\n this.registerOutput(\"w\", NodeGeometryBlockConnectionPointTypes.Float);\n }\n /**\n * Gets the current class name\n * @returns the class name\n */\n getClassName() {\n return \"VectorConverterBlock\";\n }\n /**\n * Gets the xyzw component (input)\n */\n get xyzwIn() {\n return this._inputs[0];\n }\n /**\n * Gets the xyz component (input)\n */\n get xyzIn() {\n return this._inputs[1];\n }\n /**\n * Gets the xy component (input)\n */\n get xyIn() {\n return this._inputs[2];\n }\n /**\n * Gets the zw component (input)\n */\n get zwIn() {\n return this._inputs[3];\n }\n /**\n * Gets the x component (input)\n */\n get xIn() {\n return this._inputs[4];\n }\n /**\n * Gets the y component (input)\n */\n get yIn() {\n return this._inputs[5];\n }\n /**\n * Gets the z component (input)\n */\n get zIn() {\n return this._inputs[6];\n }\n /**\n * Gets the w component (input)\n */\n get wIn() {\n return this._inputs[7];\n }\n /**\n * Gets the xyzw component (output)\n */\n get xyzwOut() {\n return this._outputs[0];\n }\n /**\n * Gets the xyz component (output)\n */\n get xyzOut() {\n return this._outputs[1];\n }\n /**\n * Gets the xy component (output)\n */\n get xyOut() {\n return this._outputs[2];\n }\n /**\n * Gets the zw component (output)\n */\n get zwOut() {\n return this._outputs[3];\n }\n /**\n * Gets the x component (output)\n */\n get xOut() {\n return this._outputs[4];\n }\n /**\n * Gets the y component (output)\n */\n get yOut() {\n return this._outputs[5];\n }\n /**\n * Gets the z component (output)\n */\n get zOut() {\n return this._outputs[6];\n }\n /**\n * Gets the w component (output)\n */\n get wOut() {\n return this._outputs[7];\n }\n _inputRename(name) {\n if (name === \"xyzw \") {\n return \"xyzwIn\";\n }\n if (name === \"xyz \") {\n return \"xyzIn\";\n }\n if (name === \"xy \") {\n return \"xyIn\";\n }\n if (name === \"zw \") {\n return \"zwIn\";\n }\n if (name === \"x \") {\n return \"xIn\";\n }\n if (name === \"y \") {\n return \"yIn\";\n }\n if (name === \"z \") {\n return \"zIn\";\n }\n if (name === \"w \") {\n return \"wIn\";\n }\n return name;\n }\n _outputRename(name) {\n switch (name) {\n case \"x\":\n return \"xOut\";\n case \"y\":\n return \"yOut\";\n case \"z\":\n return \"zOut\";\n case \"w\":\n return \"wOut\";\n case \"xy\":\n return \"xyOut\";\n case \"zw\":\n return \"zwOut\";\n case \"xyz\":\n return \"xyzOut\";\n case \"xyzw\":\n return \"xyzwOut\";\n default:\n return name;\n }\n }\n _buildBlock(state) {\n super._buildBlock(state);\n const xInput = this.xIn;\n const yInput = this.yIn;\n const zInput = this.zIn;\n const wInput = this.wIn;\n const xyInput = this.xyIn;\n const zwInput = this.zwIn;\n const xyzInput = this.xyzIn;\n const xyzwInput = this.xyzwIn;\n const xyzwOutput = this.xyzwOut;\n const xyzOutput = this.xyzOut;\n const xyOutput = this.xyOut;\n const zwOutput = this.zwOut;\n const xOutput = this.xOut;\n const yOutput = this.yOut;\n const zOutput = this.zOut;\n const wOutput = this.wOut;\n const getData = state => {\n if (xyzwInput.isConnected) {\n return xyzwInput.getConnectedValue(state);\n }\n let x = 0;\n let y = 0;\n let z = 0;\n let w = 0;\n if (xInput.isConnected) {\n x = xInput.getConnectedValue(state);\n }\n if (yInput.isConnected) {\n y = yInput.getConnectedValue(state);\n }\n if (zInput.isConnected) {\n z = zInput.getConnectedValue(state);\n }\n if (wInput.isConnected) {\n w = wInput.getConnectedValue(state);\n }\n if (xyInput.isConnected) {\n const temp = xyInput.getConnectedValue(state);\n if (temp) {\n x = temp.x;\n y = temp.y;\n }\n }\n if (zwInput.isConnected) {\n const temp = zwInput.getConnectedValue(state);\n if (temp) {\n z = temp.x;\n w = temp.y;\n }\n }\n if (xyzInput.isConnected) {\n const temp = xyzInput.getConnectedValue(state);\n if (temp) {\n x = temp.x;\n y = temp.y;\n z = temp.z;\n }\n }\n return new Vector4(x, y, z, w);\n };\n xyzwOutput._storedFunction = state => getData(state);\n xyzOutput._storedFunction = state => {\n const data = getData(state);\n return new Vector3(data.x, data.y, data.z);\n };\n xyOutput._storedFunction = state => {\n const data = getData(state);\n return new Vector2(data.x, data.y);\n };\n zwOutput._storedFunction = state => {\n const data = getData(state);\n return new Vector2(data.z, data.w);\n };\n xOutput._storedFunction = state => getData(state).x;\n yOutput._storedFunction = state => getData(state).y;\n zOutput._storedFunction = state => getData(state).z;\n wOutput._storedFunction = state => getData(state).w;\n }\n}\nRegisterClass(\"BABYLON.VectorConverterBlock\", VectorConverterBlock);","map":{"version":3,"names":["Vector2","Vector3","Vector4","RegisterClass","NodeGeometryBlockConnectionPointTypes","NodeGeometryBlock","VectorConverterBlock","constructor","name","registerInput","Float","registerOutput","getClassName","xyzwIn","_inputs","xyzIn","xyIn","zwIn","xIn","yIn","zIn","wIn","xyzwOut","_outputs","xyzOut","xyOut","zwOut","xOut","yOut","zOut","wOut","_inputRename","_outputRename","_buildBlock","state","xInput","yInput","zInput","wInput","xyInput","zwInput","xyzInput","xyzwInput","xyzwOutput","xyzOutput","xyOutput","zwOutput","xOutput","yOutput","zOutput","wOutput","getData","isConnected","getConnectedValue","x","y","z","w","temp","_storedFunction","data"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Meshes/Node/Blocks/vectorConverterBlock.js"],"sourcesContent":["import { Vector2, Vector3, Vector4 } from \"../../../Maths/math.vector.js\";\nimport { RegisterClass } from \"../../../Misc/typeStore.js\";\nimport { NodeGeometryBlockConnectionPointTypes } from \"../Enums/nodeGeometryConnectionPointTypes.js\";\nimport { NodeGeometryBlock } from \"../nodeGeometryBlock.js\";\n/**\n * Block used to create a Vector2/3/4 out of individual or partial inputs\n */\nexport class VectorConverterBlock extends NodeGeometryBlock {\n /**\n * Create a new VectorConverterBlock\n * @param name defines the block name\n */\n constructor(name) {\n super(name);\n this.registerInput(\"xyzw \", NodeGeometryBlockConnectionPointTypes.Vector4, true);\n this.registerInput(\"xyz \", NodeGeometryBlockConnectionPointTypes.Vector3, true);\n this.registerInput(\"xy \", NodeGeometryBlockConnectionPointTypes.Vector2, true);\n this.registerInput(\"zw \", NodeGeometryBlockConnectionPointTypes.Vector2, true);\n this.registerInput(\"x \", NodeGeometryBlockConnectionPointTypes.Float, true);\n this.registerInput(\"y \", NodeGeometryBlockConnectionPointTypes.Float, true);\n this.registerInput(\"z \", NodeGeometryBlockConnectionPointTypes.Float, true);\n this.registerInput(\"w \", NodeGeometryBlockConnectionPointTypes.Float, true);\n this.registerOutput(\"xyzw\", NodeGeometryBlockConnectionPointTypes.Vector4);\n this.registerOutput(\"xyz\", NodeGeometryBlockConnectionPointTypes.Vector3);\n this.registerOutput(\"xy\", NodeGeometryBlockConnectionPointTypes.Vector2);\n this.registerOutput(\"zw\", NodeGeometryBlockConnectionPointTypes.Vector2);\n this.registerOutput(\"x\", NodeGeometryBlockConnectionPointTypes.Float);\n this.registerOutput(\"y\", NodeGeometryBlockConnectionPointTypes.Float);\n this.registerOutput(\"z\", NodeGeometryBlockConnectionPointTypes.Float);\n this.registerOutput(\"w\", NodeGeometryBlockConnectionPointTypes.Float);\n }\n /**\n * Gets the current class name\n * @returns the class name\n */\n getClassName() {\n return \"VectorConverterBlock\";\n }\n /**\n * Gets the xyzw component (input)\n */\n get xyzwIn() {\n return this._inputs[0];\n }\n /**\n * Gets the xyz component (input)\n */\n get xyzIn() {\n return this._inputs[1];\n }\n /**\n * Gets the xy component (input)\n */\n get xyIn() {\n return this._inputs[2];\n }\n /**\n * Gets the zw component (input)\n */\n get zwIn() {\n return this._inputs[3];\n }\n /**\n * Gets the x component (input)\n */\n get xIn() {\n return this._inputs[4];\n }\n /**\n * Gets the y component (input)\n */\n get yIn() {\n return this._inputs[5];\n }\n /**\n * Gets the z component (input)\n */\n get zIn() {\n return this._inputs[6];\n }\n /**\n * Gets the w component (input)\n */\n get wIn() {\n return this._inputs[7];\n }\n /**\n * Gets the xyzw component (output)\n */\n get xyzwOut() {\n return this._outputs[0];\n }\n /**\n * Gets the xyz component (output)\n */\n get xyzOut() {\n return this._outputs[1];\n }\n /**\n * Gets the xy component (output)\n */\n get xyOut() {\n return this._outputs[2];\n }\n /**\n * Gets the zw component (output)\n */\n get zwOut() {\n return this._outputs[3];\n }\n /**\n * Gets the x component (output)\n */\n get xOut() {\n return this._outputs[4];\n }\n /**\n * Gets the y component (output)\n */\n get yOut() {\n return this._outputs[5];\n }\n /**\n * Gets the z component (output)\n */\n get zOut() {\n return this._outputs[6];\n }\n /**\n * Gets the w component (output)\n */\n get wOut() {\n return this._outputs[7];\n }\n _inputRename(name) {\n if (name === \"xyzw \") {\n return \"xyzwIn\";\n }\n if (name === \"xyz \") {\n return \"xyzIn\";\n }\n if (name === \"xy \") {\n return \"xyIn\";\n }\n if (name === \"zw \") {\n return \"zwIn\";\n }\n if (name === \"x \") {\n return \"xIn\";\n }\n if (name === \"y \") {\n return \"yIn\";\n }\n if (name === \"z \") {\n return \"zIn\";\n }\n if (name === \"w \") {\n return \"wIn\";\n }\n return name;\n }\n _outputRename(name) {\n switch (name) {\n case \"x\":\n return \"xOut\";\n case \"y\":\n return \"yOut\";\n case \"z\":\n return \"zOut\";\n case \"w\":\n return \"wOut\";\n case \"xy\":\n return \"xyOut\";\n case \"zw\":\n return \"zwOut\";\n case \"xyz\":\n return \"xyzOut\";\n case \"xyzw\":\n return \"xyzwOut\";\n default:\n return name;\n }\n }\n _buildBlock(state) {\n super._buildBlock(state);\n const xInput = this.xIn;\n const yInput = this.yIn;\n const zInput = this.zIn;\n const wInput = this.wIn;\n const xyInput = this.xyIn;\n const zwInput = this.zwIn;\n const xyzInput = this.xyzIn;\n const xyzwInput = this.xyzwIn;\n const xyzwOutput = this.xyzwOut;\n const xyzOutput = this.xyzOut;\n const xyOutput = this.xyOut;\n const zwOutput = this.zwOut;\n const xOutput = this.xOut;\n const yOutput = this.yOut;\n const zOutput = this.zOut;\n const wOutput = this.wOut;\n const getData = (state) => {\n if (xyzwInput.isConnected) {\n return xyzwInput.getConnectedValue(state);\n }\n let x = 0;\n let y = 0;\n let z = 0;\n let w = 0;\n if (xInput.isConnected) {\n x = xInput.getConnectedValue(state);\n }\n if (yInput.isConnected) {\n y = yInput.getConnectedValue(state);\n }\n if (zInput.isConnected) {\n z = zInput.getConnectedValue(state);\n }\n if (wInput.isConnected) {\n w = wInput.getConnectedValue(state);\n }\n if (xyInput.isConnected) {\n const temp = xyInput.getConnectedValue(state);\n if (temp) {\n x = temp.x;\n y = temp.y;\n }\n }\n if (zwInput.isConnected) {\n const temp = zwInput.getConnectedValue(state);\n if (temp) {\n z = temp.x;\n w = temp.y;\n }\n }\n if (xyzInput.isConnected) {\n const temp = xyzInput.getConnectedValue(state);\n if (temp) {\n x = temp.x;\n y = temp.y;\n z = temp.z;\n }\n }\n return new Vector4(x, y, z, w);\n };\n xyzwOutput._storedFunction = (state) => getData(state);\n xyzOutput._storedFunction = (state) => {\n const data = getData(state);\n return new Vector3(data.x, data.y, data.z);\n };\n xyOutput._storedFunction = (state) => {\n const data = getData(state);\n return new Vector2(data.x, data.y);\n };\n zwOutput._storedFunction = (state) => {\n const data = getData(state);\n return new Vector2(data.z, data.w);\n };\n xOutput._storedFunction = (state) => getData(state).x;\n yOutput._storedFunction = (state) => getData(state).y;\n zOutput._storedFunction = (state) => getData(state).z;\n wOutput._storedFunction = (state) => getData(state).w;\n }\n}\nRegisterClass(\"BABYLON.VectorConverterBlock\", VectorConverterBlock);\n"],"mappings":"AAAA,SAASA,OAAO,EAAEC,OAAO,EAAEC,OAAO,QAAQ,+BAA+B;AACzE,SAASC,aAAa,QAAQ,4BAA4B;AAC1D,SAASC,qCAAqC,QAAQ,8CAA8C;AACpG,SAASC,iBAAiB,QAAQ,yBAAyB;AAC3D;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,SAASD,iBAAiB,CAAC;EACxD;AACJ;AACA;AACA;EACIE,WAAWA,CAACC,IAAI,EAAE;IACd,KAAK,CAACA,IAAI,CAAC;IACX,IAAI,CAACC,aAAa,CAAC,OAAO,EAAEL,qCAAqC,CAACF,OAAO,EAAE,IAAI,CAAC;IAChF,IAAI,CAACO,aAAa,CAAC,MAAM,EAAEL,qCAAqC,CAACH,OAAO,EAAE,IAAI,CAAC;IAC/E,IAAI,CAACQ,aAAa,CAAC,KAAK,EAAEL,qCAAqC,CAACJ,OAAO,EAAE,IAAI,CAAC;IA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