@holoscript/core 6.1.3 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GLTFPipeline-SFIORFJU.js → GLTFPipeline-276GE64O.js} +6 -6
- package/dist/{GLTFPipeline-VNNDPONV.cjs → GLTFPipeline-M7WSSJED.cjs} +10 -10
- package/dist/HoloScriptRuntime-3URVTKPJ.js +10 -0
- package/dist/HoloScriptRuntime-SXEAEU2N.cjs +19 -0
- package/dist/{chunk-2B7WVIDZ.js → chunk-23J755AR.js} +4 -4
- package/dist/{chunk-HANL7K2Q.cjs → chunk-253GBQZY.cjs} +38 -38
- package/dist/{chunk-KQTPCYTG.cjs → chunk-25IQCHTO.cjs} +38 -38
- package/dist/{chunk-V73NPPTM.cjs → chunk-3AO425MZ.cjs} +20 -20
- package/dist/{chunk-6S6TKNEA.cjs → chunk-3HYYMEXI.cjs} +279 -124
- package/dist/{chunk-IHESJZSW.js → chunk-3NFFOWGG.js} +6 -209
- package/dist/{chunk-AO4I2Z7M.cjs → chunk-3WZEJHUQ.cjs} +7 -7
- package/dist/{chunk-IRWWS72C.cjs → chunk-4V2E7U7Q.cjs} +7 -7
- package/dist/{chunk-ER4GATIU.js → chunk-62FBK3B7.js} +6 -6
- package/dist/{chunk-L63H3SQ4.cjs → chunk-6DPSFNJB.cjs} +19 -19
- package/dist/{chunk-XFXGA5IW.cjs → chunk-73FELZVJ.cjs} +14 -14
- package/dist/{chunk-QWNQ523V.cjs → chunk-7CUEMLDZ.cjs} +47 -47
- package/dist/{chunk-52ULD552.cjs → chunk-7HIASF7S.cjs} +13 -13
- package/dist/{chunk-U4NBQJBY.js → chunk-ANXZFVY2.js} +3 -3
- package/dist/{chunk-NHHVLKV3.js → chunk-AYBXB26F.js} +5 -5
- package/dist/{chunk-KX76JUQY.js → chunk-B4TFTDG4.js} +3 -3
- package/dist/{chunk-OEFY723R.js → chunk-BE4UJCQT.js} +4 -4
- package/dist/{chunk-DIL6DDDN.cjs → chunk-C2A5DUMF.cjs} +38 -38
- package/dist/{chunk-H3MGK7TX.cjs → chunk-CXFDRBQU.cjs} +10 -10
- package/dist/{chunk-4SY77NA4.cjs → chunk-D54CNIAJ.cjs} +2 -2
- package/dist/{chunk-22W6NGYN.js → chunk-DAJXW4KX.js} +3 -3
- package/dist/{chunk-RUXGBKPS.cjs → chunk-EUDQTK7N.cjs} +15 -222
- package/dist/{chunk-SXYLMIGP.js → chunk-F43YAA34.js} +3 -3
- package/dist/{chunk-H5DZIHJP.cjs → chunk-FYSPZT4V.cjs} +7 -7
- package/dist/{chunk-TK74TR4H.js → chunk-GIOYPNTH.js} +36 -2
- package/dist/{chunk-2HLIGOKU.cjs → chunk-GQHQOPXZ.cjs} +36 -2
- package/dist/{chunk-BPICAGBV.cjs → chunk-GQT4TYKY.cjs} +35 -35
- package/dist/{chunk-QAVXL2IH.js → chunk-GYZE55MO.js} +3 -3
- package/dist/{chunk-77V4GTCA.js → chunk-H652NHX5.js} +78 -74
- package/dist/{chunk-KHPCJRI3.cjs → chunk-HINXWAOD.cjs} +14 -14
- package/dist/{chunk-W6P2GBHH.cjs → chunk-HZSPDCXV.cjs} +3 -3
- package/dist/{chunk-EMMC5CSQ.js → chunk-HZTDET3N.js} +4 -4
- package/dist/{chunk-5CKA5SXU.js → chunk-IPWSXCCN.js} +4 -4
- package/dist/{chunk-GQYKQSTC.cjs → chunk-IUTY5WQ2.cjs} +5 -5
- package/dist/{chunk-MSMIFMBL.js → chunk-IVSZDECV.js} +4 -4
- package/dist/{chunk-2A7FURVO.js → chunk-IZM5VQZD.js} +4 -4
- package/dist/{chunk-33XCOVE3.js → chunk-J6M4FPK5.js} +3 -3
- package/dist/{chunk-6KMK2UXT.cjs → chunk-JC5YBPSF.cjs} +5 -5
- package/dist/{chunk-W55Z7QIX.js → chunk-JCLBKPMX.js} +3 -3
- package/dist/{chunk-MXJ5SS53.cjs → chunk-JJBE3TIH.cjs} +10 -10
- package/dist/{chunk-HRODTEEO.js → chunk-JX7YL6ZE.js} +5 -5
- package/dist/{chunk-IVIA7K75.cjs → chunk-K4VVR7CN.cjs} +18 -18
- package/dist/{chunk-VSK7W3O5.cjs → chunk-KEFNV2WM.cjs} +16 -16
- package/dist/{chunk-HZCQO4JM.cjs → chunk-KH4CNH66.cjs} +4 -4
- package/dist/{chunk-6FGQNDR4.js → chunk-KJLB4OPV.js} +4 -4
- package/dist/{chunk-RMHC2VG7.cjs → chunk-KKP7JKN4.cjs} +6 -2
- package/dist/{chunk-OEV5RMZO.cjs → chunk-KQCN6AKJ.cjs} +5 -5
- package/dist/{chunk-7AD52FRS.cjs → chunk-KVRSTFNH.cjs} +14 -14
- package/dist/{chunk-ZKSS47EV.cjs → chunk-LICPB5HZ.cjs} +13 -13
- package/dist/{chunk-S5IFXW6E.js → chunk-MGE5Z4GS.js} +4 -4
- package/dist/{chunk-6L4VE27M.js → chunk-NBMHU6SW.js} +4 -4
- package/dist/{chunk-QCCBXSCE.js → chunk-NGKREZ36.js} +5 -5
- package/dist/{chunk-27MPVJVZ.cjs → chunk-NHWSN2SD.cjs} +21 -21
- package/dist/{chunk-XMWZG36H.js → chunk-NV4VMVXU.js} +3 -3
- package/dist/{chunk-Y3MWXQSB.cjs → chunk-NXZFOPVD.cjs} +19 -19
- package/dist/{chunk-ZUL5AVTX.cjs → chunk-OBIYPYYS.cjs} +5 -5
- package/dist/{chunk-ZXBZVXDW.js → chunk-OMXII44L.js} +3 -3
- package/dist/{chunk-MJVIRCUV.cjs → chunk-OR4Q2BGL.cjs} +18 -18
- package/dist/{chunk-6ASWLXXN.js → chunk-PHVRG4I2.js} +4 -4
- package/dist/{chunk-QTPMJRGS.js → chunk-QPSKHBJP.js} +6 -2
- package/dist/{chunk-VEXPG4WN.js → chunk-QXH7QDSZ.js} +3 -3
- package/dist/chunk-RARB3MBR.js +207 -0
- package/dist/{chunk-EOBB6A4B.js → chunk-RVBHAXFG.js} +231 -76
- package/dist/{chunk-XXZJEFKW.cjs → chunk-S3MDHNKB.cjs} +5 -5
- package/dist/{chunk-4UUKPCY4.js → chunk-S4W6Z2MN.js} +4 -4
- package/dist/{chunk-BVLP6D3Q.cjs → chunk-SJBGLS25.cjs} +5 -5
- package/dist/chunk-SMIWS6DE.cjs +212 -0
- package/dist/{chunk-R3IVNY6P.js → chunk-T2QCTZMO.js} +4 -4
- package/dist/{chunk-AIX25INK.cjs → chunk-TVHSPJ4N.cjs} +79 -75
- package/dist/{chunk-Z5XMPRNC.cjs → chunk-U44IKGG7.cjs} +30 -30
- package/dist/{chunk-OPZ7XDDI.js → chunk-UJXISJBN.js} +3 -3
- package/dist/{chunk-FXKTYFYA.js → chunk-UM6C3CGK.js} +4 -4
- package/dist/{chunk-LAOCQJ2M.js → chunk-UMABK6SI.js} +4 -4
- package/dist/{chunk-GN3KDX4W.js → chunk-V6MKC2FZ.js} +3 -3
- package/dist/{chunk-EDPQSGB3.cjs → chunk-W7VDOASB.cjs} +5 -5
- package/dist/{chunk-DMXC24WV.js → chunk-WJIHFLMJ.js} +2 -2
- package/dist/{chunk-UDMYRFDZ.js → chunk-WRKUDAZJ.js} +3 -3
- package/dist/{chunk-GCMWDSBZ.cjs → chunk-XIVIE43A.cjs} +5 -5
- package/dist/{chunk-UD3DSHZM.js → chunk-XKTPFXGA.js} +3 -3
- package/dist/{chunk-HGVXZDSK.cjs → chunk-XUUVDHIF.cjs} +7 -7
- package/dist/{chunk-5N54COB6.cjs → chunk-YN6V7R3L.cjs} +13 -13
- package/dist/{chunk-I2O7TW6B.js → chunk-ZBQXLH2L.js} +4 -4
- package/dist/{chunk-EOFNVCM6.js → chunk-ZU7NIRT6.js} +11 -11
- package/dist/{chunk-P7YIA5LN.js → chunk-ZZEI7MV4.js} +4 -4
- package/dist/compiler/agent-inference.cjs +6 -6
- package/dist/compiler/agent-inference.js +2 -2
- package/dist/compiler/android-xr.cjs +6 -6
- package/dist/compiler/android-xr.js +4 -4
- package/dist/compiler/android.cjs +5 -5
- package/dist/compiler/android.js +3 -3
- package/dist/compiler/ar.cjs +5 -5
- package/dist/compiler/ar.js +3 -3
- package/dist/compiler/babylon.cjs +5 -5
- package/dist/compiler/babylon.js +4 -4
- package/dist/compiler/business-quest.cjs +9 -9
- package/dist/compiler/business-quest.js +1 -1
- package/dist/compiler/context.cjs +5 -5
- package/dist/compiler/context.js +2 -2
- package/dist/compiler/domain-block-utils.cjs +151 -151
- package/dist/compiler/domain-block-utils.js +3 -3
- package/dist/compiler/dtdl.cjs +6 -6
- package/dist/compiler/dtdl.js +3 -3
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +5 -5
- package/dist/compiler/godot.js +4 -4
- package/dist/compiler/incremental.cjs +7 -7
- package/dist/compiler/incremental.js +2 -2
- package/dist/compiler/index.cjs +182 -182
- package/dist/compiler/index.js +56 -56
- package/dist/compiler/ios.cjs +5 -5
- package/dist/compiler/ios.js +3 -3
- package/dist/compiler/llm-provider-capabilities.cjs +5 -5
- package/dist/compiler/llm-provider-capabilities.js +2 -2
- package/dist/compiler/multi-layer.cjs +7 -7
- package/dist/compiler/multi-layer.js +6 -6
- package/dist/compiler/openxr.cjs +5 -5
- package/dist/compiler/openxr.js +4 -4
- package/dist/compiler/playcanvas.cjs +5 -5
- package/dist/compiler/playcanvas.js +4 -4
- package/dist/compiler/r3f.cjs +9 -9
- package/dist/compiler/r3f.js +4 -4
- package/dist/compiler/sdf.cjs +6 -6
- package/dist/compiler/sdf.js +4 -4
- package/dist/compiler/state.cjs +5 -5
- package/dist/compiler/state.js +3 -3
- package/dist/compiler/trait-composition.cjs +6 -6
- package/dist/compiler/trait-composition.js +2 -2
- package/dist/compiler/unity.cjs +5 -5
- package/dist/compiler/unity.js +4 -4
- package/dist/compiler/unreal.cjs +6 -6
- package/dist/compiler/unreal.js +4 -4
- package/dist/compiler/urdf.cjs +13 -13
- package/dist/compiler/urdf.js +4 -4
- package/dist/compiler/usd-physics.cjs +6 -6
- package/dist/compiler/usd-physics.js +3 -3
- package/dist/compiler/visionos.cjs +5 -5
- package/dist/compiler/visionos.js +4 -4
- package/dist/compiler/vrchat.cjs +6 -6
- package/dist/compiler/vrchat.js +4 -4
- package/dist/compiler/vrr.cjs +6 -6
- package/dist/compiler/vrr.js +4 -4
- package/dist/compiler/wasm.cjs +9 -9
- package/dist/compiler/wasm.js +4 -4
- package/dist/compiler/webgpu.cjs +5 -5
- package/dist/compiler/webgpu.js +4 -4
- package/dist/debugger.cjs +7 -6
- package/dist/debugger.js +5 -4
- package/dist/entries/scripting.cjs +0 -13
- package/dist/entries/scripting.js +0 -1
- package/dist/index.cjs +1002 -881
- package/dist/index.js +506 -87
- package/dist/parser.cjs +5 -5
- package/dist/parser.js +1 -1
- package/dist/reconstruction/index.cjs +31 -31
- package/dist/reconstruction/index.js +2 -2
- package/dist/runtime.cjs +302 -4
- package/dist/runtime.d.ts +61 -0
- package/dist/runtime.js +25 -3
- package/dist/traits/index.cjs +450 -439
- package/dist/traits/index.js +24 -13
- package/package.json +20 -20
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-
|
|
1
|
+
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-JX7YL6ZE.js';
|
|
2
2
|
import './chunk-EKBKLK7P.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-UM6C3CGK.js';
|
|
4
4
|
import './chunk-XT6JY5W5.js';
|
|
5
5
|
import './chunk-TJHVSBP2.js';
|
|
6
6
|
import './chunk-4C57PR42.js';
|
|
7
7
|
import './chunk-GZG4KA4E.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-JCLBKPMX.js';
|
|
9
|
+
import './chunk-QPSKHBJP.js';
|
|
10
10
|
import './chunk-THCK6ECW.js';
|
|
11
11
|
import './chunk-N75IH2HY.js';
|
|
12
12
|
import './chunk-MXFUTKCO.js';
|
|
13
13
|
import './chunk-VVKVQZI6.js';
|
|
14
14
|
import './chunk-OL46QLBJ.js';
|
|
15
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
16
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
15
|
+
//# sourceMappingURL=GLTFPipeline-276GE64O.js.map
|
|
16
|
+
//# sourceMappingURL=GLTFPipeline-276GE64O.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKEFNV2WM_cjs = require('./chunk-KEFNV2WM.cjs');
|
|
4
4
|
require('./chunk-EXUP2BUM.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-GQT4TYKY.cjs');
|
|
6
6
|
require('./chunk-UOIGFQXC.cjs');
|
|
7
7
|
require('./chunk-5S7RKFGR.cjs');
|
|
8
8
|
require('./chunk-OIQYIIO3.cjs');
|
|
9
9
|
require('./chunk-AIA52I7T.cjs');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-XUUVDHIF.cjs');
|
|
11
|
+
require('./chunk-KKP7JKN4.cjs');
|
|
12
12
|
require('./chunk-5FSKKMR7.cjs');
|
|
13
13
|
require('./chunk-GTU2Z2WW.cjs');
|
|
14
14
|
require('./chunk-ZDSYWBIE.cjs');
|
|
@@ -19,19 +19,19 @@ require('./chunk-HCCQLAA4.cjs');
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "GLTFPipeline", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkKEFNV2WM_cjs.GLTFPipeline; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "createGLTFPipeline", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkKEFNV2WM_cjs.createGLTFPipeline; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "generateScaleNormalMap", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkKEFNV2WM_cjs.generateScaleNormalMap; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "generateScaleTexture", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkKEFNV2WM_cjs.generateScaleTexture; }
|
|
35
35
|
});
|
|
36
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
37
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
36
|
+
//# sourceMappingURL=GLTFPipeline-M7WSSJED.cjs.map
|
|
37
|
+
//# sourceMappingURL=GLTFPipeline-M7WSSJED.cjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { HoloScriptRuntime } from './chunk-3NFFOWGG.js';
|
|
2
|
+
import './chunk-XL6INWKT.js';
|
|
3
|
+
import './chunk-RARB3MBR.js';
|
|
4
|
+
import './chunk-URG2SJLK.js';
|
|
5
|
+
import './chunk-H652NHX5.js';
|
|
6
|
+
import './chunk-PHENW4MQ.js';
|
|
7
|
+
import './chunk-VVKVQZI6.js';
|
|
8
|
+
import './chunk-OL46QLBJ.js';
|
|
9
|
+
//# sourceMappingURL=HoloScriptRuntime-3URVTKPJ.js.map
|
|
10
|
+
//# sourceMappingURL=HoloScriptRuntime-3URVTKPJ.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkEUDQTK7N_cjs = require('./chunk-EUDQTK7N.cjs');
|
|
4
|
+
require('./chunk-GJNCFRJU.cjs');
|
|
5
|
+
require('./chunk-SMIWS6DE.cjs');
|
|
6
|
+
require('./chunk-JIYN45TV.cjs');
|
|
7
|
+
require('./chunk-TVHSPJ4N.cjs');
|
|
8
|
+
require('./chunk-ILRBGFVD.cjs');
|
|
9
|
+
require('./chunk-E7JP3BS3.cjs');
|
|
10
|
+
require('./chunk-HCCQLAA4.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Object.defineProperty(exports, "HoloScriptRuntime", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkEUDQTK7N_cjs.HoloScriptRuntime; }
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=HoloScriptRuntime-SXEAEU2N.cjs.map
|
|
19
|
+
//# sourceMappingURL=HoloScriptRuntime-SXEAEU2N.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GZG4KA4E.js';
|
|
2
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePostProcessingBlock, compileParticleBlock, compilePhysicsBlock, compileMaterialBlock } from './chunk-
|
|
3
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
2
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePostProcessingBlock, compileParticleBlock, compilePhysicsBlock, compileMaterialBlock } from './chunk-JCLBKPMX.js';
|
|
3
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
4
4
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
5
5
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
6
6
|
|
|
@@ -1042,5 +1042,5 @@ var init_OpenXRCompiler = __esm({
|
|
|
1042
1042
|
});
|
|
1043
1043
|
|
|
1044
1044
|
export { OpenXRCompiler, OpenXRCompiler_exports, init_OpenXRCompiler };
|
|
1045
|
-
//# sourceMappingURL=chunk-
|
|
1046
|
-
//# sourceMappingURL=chunk-
|
|
1045
|
+
//# sourceMappingURL=chunk-23J755AR.js.map
|
|
1046
|
+
//# sourceMappingURL=chunk-23J755AR.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
4
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
5
5
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
6
6
|
var ans = require('@holoscript/core-types/ans');
|
|
7
7
|
|
|
@@ -18,9 +18,9 @@ function compileToVRChat(composition, options) {
|
|
|
18
18
|
exports.VRChatCompiler = void 0;
|
|
19
19
|
var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
20
20
|
"src/compiler/VRChatCompiler.ts"() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
exports.VRChatCompiler = class extends
|
|
21
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
22
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
23
|
+
exports.VRChatCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
24
24
|
constructor(options = {}) {
|
|
25
25
|
super();
|
|
26
26
|
this.compilerName = "VRChatCompiler";
|
|
@@ -185,59 +185,59 @@ var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
185
185
|
this.emit("");
|
|
186
186
|
this.emit("// === v4.2 Domain Blocks (VRChat/Unity) ===");
|
|
187
187
|
let blockIdx = 0;
|
|
188
|
-
const compiled =
|
|
188
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
189
189
|
domainBlocks,
|
|
190
190
|
{
|
|
191
191
|
material: (block) => {
|
|
192
|
-
const mat =
|
|
193
|
-
return
|
|
192
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
193
|
+
return chunkXUUVDHIF_cjs.materialToVRChat(mat, `db${blockIdx++}`);
|
|
194
194
|
},
|
|
195
195
|
physics: (block) => {
|
|
196
|
-
const phys =
|
|
197
|
-
return
|
|
196
|
+
const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
197
|
+
return chunkXUUVDHIF_cjs.physicsToUnity(phys, `db${blockIdx++}`);
|
|
198
198
|
},
|
|
199
199
|
vfx: (block) => {
|
|
200
|
-
const ps =
|
|
201
|
-
return
|
|
200
|
+
const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
|
|
201
|
+
return chunkXUUVDHIF_cjs.particlesToUnity(ps, `db${blockIdx++}`);
|
|
202
202
|
},
|
|
203
203
|
postfx: (block) => {
|
|
204
|
-
const pp =
|
|
205
|
-
return
|
|
204
|
+
const pp = chunkXUUVDHIF_cjs.compilePostProcessingBlock(block);
|
|
205
|
+
return chunkXUUVDHIF_cjs.postProcessingToUnity(pp);
|
|
206
206
|
},
|
|
207
207
|
audio: (block) => {
|
|
208
|
-
const audio =
|
|
209
|
-
return
|
|
208
|
+
const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
209
|
+
return chunkXUUVDHIF_cjs.audioSourceToUnity(audio, `db${blockIdx++}`);
|
|
210
210
|
},
|
|
211
211
|
weather: (block) => {
|
|
212
|
-
const weather =
|
|
213
|
-
return
|
|
212
|
+
const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
213
|
+
return chunkXUUVDHIF_cjs.weatherToUnity(weather);
|
|
214
214
|
},
|
|
215
215
|
narrative: (block) => {
|
|
216
|
-
const narr =
|
|
217
|
-
return
|
|
216
|
+
const narr = chunkXUUVDHIF_cjs.compileNarrativeBlock(block);
|
|
217
|
+
return chunkXUUVDHIF_cjs.narrativeToVRChat(narr);
|
|
218
218
|
},
|
|
219
219
|
payment: (block) => {
|
|
220
|
-
const pay =
|
|
221
|
-
return
|
|
220
|
+
const pay = chunkXUUVDHIF_cjs.compilePaymentBlock(block);
|
|
221
|
+
return chunkXUUVDHIF_cjs.paymentToVRChat(pay);
|
|
222
222
|
},
|
|
223
223
|
healthcare: (block) => {
|
|
224
|
-
const h =
|
|
225
|
-
return
|
|
224
|
+
const h = chunkXUUVDHIF_cjs.compileHealthcareBlock(block);
|
|
225
|
+
return chunkXUUVDHIF_cjs.healthcareToVRChat(h);
|
|
226
226
|
},
|
|
227
227
|
robotics: (block) => {
|
|
228
|
-
const r =
|
|
229
|
-
return
|
|
228
|
+
const r = chunkXUUVDHIF_cjs.compileRoboticsBlock(block);
|
|
229
|
+
return chunkXUUVDHIF_cjs.roboticsToVRChat(r);
|
|
230
230
|
},
|
|
231
|
-
iot: (block) =>
|
|
232
|
-
dataviz: (block) =>
|
|
233
|
-
education: (block) =>
|
|
234
|
-
music: (block) =>
|
|
235
|
-
architecture: (block) =>
|
|
236
|
-
web3: (block) =>
|
|
237
|
-
procedural: (block) =>
|
|
238
|
-
rendering: (block) =>
|
|
239
|
-
navigation: (block) =>
|
|
240
|
-
input: (block) =>
|
|
231
|
+
iot: (block) => chunkXUUVDHIF_cjs.iotToVRChat(chunkXUUVDHIF_cjs.compileIoTBlock(block)),
|
|
232
|
+
dataviz: (block) => chunkXUUVDHIF_cjs.datavizToVRChat(chunkXUUVDHIF_cjs.compileDataVizBlock(block)),
|
|
233
|
+
education: (block) => chunkXUUVDHIF_cjs.educationToVRChat(chunkXUUVDHIF_cjs.compileEducationBlock(block)),
|
|
234
|
+
music: (block) => chunkXUUVDHIF_cjs.musicToVRChat(chunkXUUVDHIF_cjs.compileMusicBlock(block)),
|
|
235
|
+
architecture: (block) => chunkXUUVDHIF_cjs.architectureToVRChat(chunkXUUVDHIF_cjs.compileArchitectureBlock(block)),
|
|
236
|
+
web3: (block) => chunkXUUVDHIF_cjs.web3ToVRChat(chunkXUUVDHIF_cjs.compileWeb3Block(block)),
|
|
237
|
+
procedural: (block) => chunkXUUVDHIF_cjs.proceduralToVRChat(chunkXUUVDHIF_cjs.compileProceduralBlock(block)),
|
|
238
|
+
rendering: (block) => chunkXUUVDHIF_cjs.renderingToVRChat(chunkXUUVDHIF_cjs.compileRenderingBlock(block)),
|
|
239
|
+
navigation: (block) => chunkXUUVDHIF_cjs.navigationToVRChat(chunkXUUVDHIF_cjs.compileNavigationBlock(block)),
|
|
240
|
+
input: (block) => chunkXUUVDHIF_cjs.inputToVRChat(chunkXUUVDHIF_cjs.compileInputBlock(block))
|
|
241
241
|
},
|
|
242
242
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
|
|
243
243
|
);
|
|
@@ -623,5 +623,5 @@ var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
623
623
|
exports.VRChatCompiler_exports = VRChatCompiler_exports;
|
|
624
624
|
exports.compileToVRChat = compileToVRChat;
|
|
625
625
|
exports.init_VRChatCompiler = init_VRChatCompiler;
|
|
626
|
-
//# sourceMappingURL=chunk-
|
|
627
|
-
//# sourceMappingURL=chunk-
|
|
626
|
+
//# sourceMappingURL=chunk-253GBQZY.cjs.map
|
|
627
|
+
//# sourceMappingURL=chunk-253GBQZY.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
5
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
6
6
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
8
8
|
|
|
@@ -14,10 +14,10 @@ chunkHCCQLAA4_cjs.__export(UnityCompiler_exports, {
|
|
|
14
14
|
exports.UnityCompiler = void 0;
|
|
15
15
|
var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
16
16
|
"src/compiler/UnityCompiler.ts"() {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
18
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
19
19
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
20
|
-
exports.UnityCompiler = class extends
|
|
20
|
+
exports.UnityCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
21
21
|
constructor(options = {}) {
|
|
22
22
|
super();
|
|
23
23
|
this.compilerName = "UnityCompiler";
|
|
@@ -219,63 +219,63 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
219
219
|
this.emit("");
|
|
220
220
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
221
221
|
let blockIdx = 0;
|
|
222
|
-
const compiled =
|
|
222
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
223
223
|
domainBlocks,
|
|
224
224
|
{
|
|
225
225
|
material: (block) => {
|
|
226
|
-
const mat =
|
|
226
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
227
227
|
const prefix = `db${blockIdx++}`;
|
|
228
|
-
return
|
|
228
|
+
return chunkXUUVDHIF_cjs.materialToUnity(mat, prefix);
|
|
229
229
|
},
|
|
230
230
|
physics: (block) => {
|
|
231
|
-
const phys =
|
|
231
|
+
const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
232
232
|
const prefix = `db${blockIdx++}`;
|
|
233
|
-
return
|
|
233
|
+
return chunkXUUVDHIF_cjs.physicsToUnity(phys, prefix);
|
|
234
234
|
},
|
|
235
235
|
vfx: (block) => {
|
|
236
|
-
const ps =
|
|
236
|
+
const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
|
|
237
237
|
const prefix = `db${blockIdx++}`;
|
|
238
|
-
return
|
|
238
|
+
return chunkXUUVDHIF_cjs.particlesToUnity(ps, prefix);
|
|
239
239
|
},
|
|
240
240
|
postfx: (block) => {
|
|
241
|
-
const pp =
|
|
242
|
-
return
|
|
241
|
+
const pp = chunkXUUVDHIF_cjs.compilePostProcessingBlock(block);
|
|
242
|
+
return chunkXUUVDHIF_cjs.postProcessingToUnity(pp);
|
|
243
243
|
},
|
|
244
244
|
audio: (block) => {
|
|
245
|
-
const audio =
|
|
245
|
+
const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
246
246
|
const prefix = `db${blockIdx++}`;
|
|
247
|
-
return
|
|
247
|
+
return chunkXUUVDHIF_cjs.audioSourceToUnity(audio, prefix);
|
|
248
248
|
},
|
|
249
249
|
weather: (block) => {
|
|
250
|
-
const weather =
|
|
251
|
-
return
|
|
250
|
+
const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
251
|
+
return chunkXUUVDHIF_cjs.weatherToUnity(weather);
|
|
252
252
|
},
|
|
253
253
|
narrative: (block) => {
|
|
254
|
-
const narr =
|
|
255
|
-
return
|
|
254
|
+
const narr = chunkXUUVDHIF_cjs.compileNarrativeBlock(block);
|
|
255
|
+
return chunkXUUVDHIF_cjs.narrativeToUnity(narr);
|
|
256
256
|
},
|
|
257
257
|
payment: (block) => {
|
|
258
|
-
const pay =
|
|
259
|
-
return
|
|
258
|
+
const pay = chunkXUUVDHIF_cjs.compilePaymentBlock(block);
|
|
259
|
+
return chunkXUUVDHIF_cjs.paymentToUnity(pay);
|
|
260
260
|
},
|
|
261
261
|
healthcare: (block) => {
|
|
262
|
-
const h =
|
|
263
|
-
return
|
|
262
|
+
const h = chunkXUUVDHIF_cjs.compileHealthcareBlock(block);
|
|
263
|
+
return chunkXUUVDHIF_cjs.healthcareToUnity(h);
|
|
264
264
|
},
|
|
265
265
|
robotics: (block) => {
|
|
266
|
-
const r =
|
|
267
|
-
return
|
|
266
|
+
const r = chunkXUUVDHIF_cjs.compileRoboticsBlock(block);
|
|
267
|
+
return chunkXUUVDHIF_cjs.roboticsToUnity(r);
|
|
268
268
|
},
|
|
269
|
-
iot: (block) =>
|
|
270
|
-
dataviz: (block) =>
|
|
271
|
-
education: (block) =>
|
|
272
|
-
music: (block) =>
|
|
273
|
-
architecture: (block) =>
|
|
274
|
-
web3: (block) =>
|
|
275
|
-
procedural: (block) =>
|
|
276
|
-
rendering: (block) =>
|
|
277
|
-
navigation: (block) =>
|
|
278
|
-
input: (block) =>
|
|
269
|
+
iot: (block) => chunkXUUVDHIF_cjs.iotToUnity(chunkXUUVDHIF_cjs.compileIoTBlock(block)),
|
|
270
|
+
dataviz: (block) => chunkXUUVDHIF_cjs.datavizToUnity(chunkXUUVDHIF_cjs.compileDataVizBlock(block)),
|
|
271
|
+
education: (block) => chunkXUUVDHIF_cjs.educationToUnity(chunkXUUVDHIF_cjs.compileEducationBlock(block)),
|
|
272
|
+
music: (block) => chunkXUUVDHIF_cjs.musicToUnity(chunkXUUVDHIF_cjs.compileMusicBlock(block)),
|
|
273
|
+
architecture: (block) => chunkXUUVDHIF_cjs.architectureToUnity(chunkXUUVDHIF_cjs.compileArchitectureBlock(block)),
|
|
274
|
+
web3: (block) => chunkXUUVDHIF_cjs.web3ToUnity(chunkXUUVDHIF_cjs.compileWeb3Block(block)),
|
|
275
|
+
procedural: (block) => chunkXUUVDHIF_cjs.proceduralToUnity(chunkXUUVDHIF_cjs.compileProceduralBlock(block)),
|
|
276
|
+
rendering: (block) => chunkXUUVDHIF_cjs.renderingToUnity(chunkXUUVDHIF_cjs.compileRenderingBlock(block)),
|
|
277
|
+
navigation: (block) => chunkXUUVDHIF_cjs.navigationToUnity(chunkXUUVDHIF_cjs.compileNavigationBlock(block)),
|
|
278
|
+
input: (block) => chunkXUUVDHIF_cjs.inputToUnity(chunkXUUVDHIF_cjs.compileInputBlock(block))
|
|
279
279
|
},
|
|
280
280
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
|
|
281
281
|
);
|
|
@@ -777,5 +777,5 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
777
777
|
|
|
778
778
|
exports.UnityCompiler_exports = UnityCompiler_exports;
|
|
779
779
|
exports.init_UnityCompiler = init_UnityCompiler;
|
|
780
|
-
//# sourceMappingURL=chunk-
|
|
781
|
-
//# sourceMappingURL=chunk-
|
|
780
|
+
//# sourceMappingURL=chunk-25IQCHTO.cjs.map
|
|
781
|
+
//# sourceMappingURL=chunk-25IQCHTO.cjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
4
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
5
5
|
var ans = require('@holoscript/core-types/ans');
|
|
6
6
|
|
|
7
7
|
// src/compiler/USDPhysicsCompiler.ts
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var USDPhysicsCompiler = class extends
|
|
8
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
9
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
10
|
+
var USDPhysicsCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
11
11
|
constructor(options = {}) {
|
|
12
12
|
super();
|
|
13
13
|
this.compilerName = "USDPhysicsCompiler";
|
|
@@ -260,34 +260,34 @@ var USDPhysicsCompiler = class extends chunkRMHC2VG7_cjs.CompilerBase {
|
|
|
260
260
|
if (domainBlocks.length > 0) {
|
|
261
261
|
this.emitBlank();
|
|
262
262
|
this.emit(`# === v4.2 Domain Blocks ===`);
|
|
263
|
-
const compiled =
|
|
263
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
264
264
|
domainBlocks,
|
|
265
265
|
{
|
|
266
266
|
material: (block) => {
|
|
267
|
-
const mat =
|
|
268
|
-
return
|
|
267
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
268
|
+
return chunkXUUVDHIF_cjs.materialToUSD(mat);
|
|
269
269
|
},
|
|
270
270
|
physics: (block) => {
|
|
271
|
-
const phys =
|
|
272
|
-
const urdf =
|
|
271
|
+
const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
272
|
+
const urdf = chunkXUUVDHIF_cjs.physicsToURDF(phys);
|
|
273
273
|
return `# Physics: ${phys.keyword} "${phys.name || ""}"
|
|
274
274
|
` + urdf.split("\n").map((l) => `# URDF: ${l}`).join("\n");
|
|
275
275
|
},
|
|
276
276
|
vfx: (block) => {
|
|
277
|
-
const ps =
|
|
278
|
-
return
|
|
277
|
+
const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
|
|
278
|
+
return chunkXUUVDHIF_cjs.particlesToUSD(ps);
|
|
279
279
|
},
|
|
280
280
|
postfx: (block) => {
|
|
281
|
-
const pp =
|
|
282
|
-
return
|
|
281
|
+
const pp = chunkXUUVDHIF_cjs.compilePostProcessingBlock(block);
|
|
282
|
+
return chunkXUUVDHIF_cjs.postProcessingToUSD(pp);
|
|
283
283
|
},
|
|
284
284
|
audio: (block) => {
|
|
285
|
-
const audio =
|
|
286
|
-
return
|
|
285
|
+
const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
286
|
+
return chunkXUUVDHIF_cjs.audioSourceToUSD(audio);
|
|
287
287
|
},
|
|
288
288
|
weather: (block) => {
|
|
289
|
-
const weather =
|
|
290
|
-
return
|
|
289
|
+
const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
290
|
+
return chunkXUUVDHIF_cjs.weatherToUSD(weather);
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
293
|
(block) => `# Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "TypeScript")}"`
|
|
@@ -882,5 +882,5 @@ function compileForIsaacSim(composition, options) {
|
|
|
882
882
|
exports.USDPhysicsCompiler = USDPhysicsCompiler;
|
|
883
883
|
exports.compileForIsaacSim = compileForIsaacSim;
|
|
884
884
|
exports.compileToUSDPhysics = compileToUSDPhysics;
|
|
885
|
-
//# sourceMappingURL=chunk-
|
|
886
|
-
//# sourceMappingURL=chunk-
|
|
885
|
+
//# sourceMappingURL=chunk-3AO425MZ.cjs.map
|
|
886
|
+
//# sourceMappingURL=chunk-3AO425MZ.cjs.map
|