@holoscript/core 8.0.6 → 8.0.7
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/README.md +34 -34
- package/bin/holoscript.cjs +1 -1
- package/dist/GLTFPipeline-3EJLL3TS.cjs +38 -0
- package/dist/GLTFPipeline-3OWJV2VK.js +17 -0
- package/dist/{HoloScriptPlusParser-A2W7OCN2.cjs → HoloScriptPlusParser-ADWRY5OS.cjs} +15 -15
- package/dist/{HoloScriptPlusParser-7FBIFUFC.js → HoloScriptPlusParser-JLJDXHSC.js} +4 -4
- package/dist/HoloScriptPlusParser-QCGFPWIL.cjs +27 -0
- package/dist/{HoloScriptPlusParser-F2Z56FJR.js → HoloScriptPlusParser-WENAFEFV.js} +5 -5
- package/dist/HoloScriptRuntime-GGRVEU4T.cjs +19 -0
- package/dist/HoloScriptRuntime-GJK6VJPH.js +10 -0
- package/dist/{USDZExporter-3FWJ25JI.cjs → USDZExporter-AUHZODOF.cjs} +15 -4
- package/dist/{USDZExporter-D2HQLQYK.js → USDZExporter-GXB4AUSG.js} +15 -4
- package/dist/{chunk-2GQHTXOK.js → chunk-22Q5A6RV.js} +3 -3
- package/dist/{chunk-XHZCF3AS.cjs → chunk-2BZHWUSR.cjs} +27 -15
- package/dist/{chunk-XJAN7CZG.cjs → chunk-2GCNOI2U.cjs} +2 -2
- package/dist/{chunk-DBPGNHFS.js → chunk-2OWDB4FB.js} +13 -25
- package/dist/{chunk-N75IH2HY.js → chunk-2Y3V22SG.js} +5 -14
- package/dist/{chunk-MXFUTKCO.js → chunk-33YHE7HX.js} +3 -7
- package/dist/{chunk-RCZHLCX2.js → chunk-3GWWJT7L.js} +4 -4
- package/dist/{chunk-EK7L4DW7.js → chunk-3NGDZZR4.js} +4 -4
- package/dist/{chunk-WRLUBRKS.cjs → chunk-3SKLAUDD.cjs} +2 -2
- package/dist/{chunk-KKFZ3B6J.cjs → chunk-3VBO3IYQ.cjs} +2 -2
- package/dist/{chunk-YF2I3MV3.js → chunk-47RUFYKR.js} +2 -2
- package/dist/{chunk-VHAONJBY.js → chunk-4JGRWHZJ.js} +7 -5
- package/dist/{chunk-2J5WZLF5.cjs → chunk-4W5G5QVL.cjs} +26 -26
- package/dist/{chunk-GQHQOPXZ.cjs → chunk-4YNYPHH3.cjs} +186 -17
- package/dist/{chunk-H5PUZHJV.cjs → chunk-56VOWURB.cjs} +61 -40
- package/dist/{chunk-DQRQZB33.cjs → chunk-5A4TCHOC.cjs} +3 -3
- package/dist/{chunk-M56JSP4A.js → chunk-5EDVCNRT.js} +2 -2
- package/dist/{chunk-YU5RJQPE.js → chunk-5ET6L4NS.js} +3 -3
- package/dist/{chunk-A3GFOZAF.cjs → chunk-63ZGNR2T.cjs} +43 -39
- package/dist/{chunk-NG77ATEW.cjs → chunk-6PRZIHGL.cjs} +6 -6
- package/dist/{chunk-OXGPGQXN.cjs → chunk-7DMMMBCY.cjs} +7 -7
- package/dist/{chunk-FHP6LXJS.js → chunk-7E7GCQCK.js} +2 -2
- package/dist/{chunk-P4AIF7OQ.js → chunk-7VMGP2FW.js} +44 -28
- package/dist/{chunk-7MVLEZB2.js → chunk-7X5PNIQJ.js} +3 -3
- package/dist/{chunk-X7QB5PL5.cjs → chunk-7ZHYEITD.cjs} +11 -11
- package/dist/{chunk-KPJL34Y7.cjs → chunk-ACVWFGBI.cjs} +2 -2
- package/dist/{chunk-QWSB553J.cjs → chunk-AWB7QYY6.cjs} +6 -6
- package/dist/{chunk-VATGR4EM.js → chunk-B4EKV6HQ.js} +61 -40
- package/dist/{chunk-HBEN5TQR.js → chunk-BRNUPDHJ.js} +5 -5
- package/dist/{chunk-F63LYRVE.js → chunk-BTKZGHAV.js} +23 -11
- package/dist/{chunk-YTR32ZEB.cjs → chunk-C4GSLCHE.cjs} +300 -125
- package/dist/{chunk-CXS3DUKD.js → chunk-C7ZBSV2Q.js} +3 -3
- package/dist/{chunk-WOH6LKYT.cjs → chunk-CCPSNT6B.cjs} +12 -7
- package/dist/{chunk-NW5G5FBQ.js → chunk-DD2JQ7TS.js} +4 -3
- package/dist/{chunk-JD7CIZ33.js → chunk-DUCB6LGL.js} +8 -10
- package/dist/{chunk-D63CGNJU.js → chunk-DY72BMU5.js} +3 -3
- package/dist/{chunk-AIA52I7T.cjs → chunk-EBS32AJI.cjs} +6 -4
- package/dist/{chunk-DCE3LDO3.cjs → chunk-EDPYCLRC.cjs} +52 -62
- package/dist/{chunk-NDUX553L.js → chunk-F2G6CWFT.js} +240 -65
- package/dist/{chunk-X7LYK5TX.cjs → chunk-F5LKJ6F5.cjs} +43 -31
- package/dist/{chunk-LAUFLPB6.js → chunk-FGMDMJM7.js} +10 -5
- package/dist/{chunk-P52PPB5R.js → chunk-FHQFPYV4.js} +4 -4
- package/dist/{chunk-YIMN575O.js → chunk-FNHJRI32.js} +8 -5
- package/dist/{chunk-EXUP2BUM.cjs → chunk-FT6TDR2O.cjs} +27 -27
- package/dist/{chunk-BRQJKJGT.cjs → chunk-FWVYAMNW.cjs} +4 -4
- package/dist/{chunk-PGANYCAG.cjs → chunk-G25QVBA5.cjs} +4 -3
- package/dist/{chunk-5BLWXOIP.cjs → chunk-G6PNEASF.cjs} +13 -13
- package/dist/{chunk-2BSMSUCE.js → chunk-GASCWJK5.js} +2 -2
- package/dist/{chunk-2VL6SJ33.cjs → chunk-GH6C2QGW.cjs} +12 -21
- package/dist/{chunk-JEB5UU3E.js → chunk-GSOUNWEL.js} +35 -27
- package/dist/{chunk-QPOQ7VPI.js → chunk-GTA4Q3A3.js} +2 -2
- package/dist/{chunk-JIYN45TV.cjs → chunk-GVFJ6T4S.cjs} +3 -7
- package/dist/{chunk-IVY74O6C.js → chunk-GVOKJNUN.js} +50 -11
- package/dist/{chunk-GZG4KA4E.js → chunk-GW3LKD5C.js} +6 -4
- package/dist/{chunk-IBXT6UP3.cjs → chunk-HFSVMKM3.cjs} +14 -14
- package/dist/{chunk-E767PVC6.cjs → chunk-HLFDZ35S.cjs} +5 -5
- package/dist/{chunk-ZXZ2AL2J.cjs → chunk-I76GIKN7.cjs} +20 -16
- package/dist/{chunk-4FDL7JLJ.cjs → chunk-KAIVDEIG.cjs} +145 -60
- package/dist/{chunk-X4EBCG4K.js → chunk-KCPHASCO.js} +18 -6
- package/dist/{chunk-T5J7ZKP3.cjs → chunk-KOUAQL2B.cjs} +16 -13
- package/dist/{chunk-GMP623FG.cjs → chunk-KQU64CIX.cjs} +2 -2
- package/dist/{chunk-4DO425P5.js → chunk-L5U4W6JC.js} +4 -4
- package/dist/{chunk-HBLKLLG5.cjs → chunk-LMJ5EBV7.cjs} +10 -10
- package/dist/{chunk-QWAR3GY6.cjs → chunk-LODTHGST.cjs} +8 -8
- package/dist/{chunk-TFUMBR7G.cjs → chunk-LPS5AMQD.cjs} +8 -8
- package/dist/{chunk-ISG3TQ2O.js → chunk-LWUOUCYL.js} +9 -5
- package/dist/{chunk-6CTRH7HT.cjs → chunk-LYJJI7ZK.cjs} +12 -14
- package/dist/{chunk-GTU2Z2WW.cjs → chunk-M7K4LE66.cjs} +5 -14
- package/dist/{chunk-URG2SJLK.js → chunk-MDR235RZ.js} +3 -7
- package/dist/{chunk-ULXWSPCK.js → chunk-MSYSQ2AJ.js} +101 -16
- package/dist/{chunk-TCBJMNXS.cjs → chunk-NGBXXZLL.cjs} +50 -62
- package/dist/{chunk-RXU4PQKA.js → chunk-NHJLP37F.js} +6 -6
- package/dist/{chunk-NTGBEMYL.cjs → chunk-NHYRRAGI.cjs} +5 -5
- package/dist/{chunk-YG3OAHJZ.cjs → chunk-O3MGZDCT.cjs} +89 -52
- package/dist/{chunk-GIOYPNTH.js → chunk-OABEO6HH.js} +185 -16
- package/dist/{chunk-N5YOAFNA.cjs → chunk-OS533P33.cjs} +37 -29
- package/dist/{chunk-IIUFMUTV.js → chunk-PABONWKI.js} +24 -11
- package/dist/{chunk-5BQIJG3O.js → chunk-PXNZ6TME.js} +47 -57
- package/dist/{chunk-KDZRD6EI.js → chunk-Q2Q34NF3.js} +63 -26
- package/dist/{chunk-IS4AEGLU.js → chunk-QBWNJXNR.js} +10 -6
- package/dist/{chunk-5IHG2LGT.js → chunk-QFU53KRH.js} +4 -4
- package/dist/{chunk-NTJZJ5IP.cjs → chunk-QGMUTVVH.cjs} +17 -17
- package/dist/{chunk-MYY4PMWX.cjs → chunk-RUVBFAF7.cjs} +50 -11
- package/dist/{chunk-E64LOLJU.js → chunk-S762UEV5.js} +5 -5
- package/dist/{chunk-3SBVODUP.cjs → chunk-SH5PPVK7.cjs} +61 -45
- package/dist/{chunk-LY4DMQOW.cjs → chunk-SKZPC5AG.cjs} +5 -5
- package/dist/{chunk-TJHVSBP2.js → chunk-SLHLXUMO.js} +10 -4
- package/dist/{chunk-S6OVFUXD.js → chunk-SSSN7VAM.js} +3 -3
- package/dist/{chunk-K5UGRXKR.js → chunk-SXOSDZD6.js} +6 -6
- package/dist/{chunk-J32ZJZJH.js → chunk-SYTRBGDS.js} +2 -2
- package/dist/{chunk-CIWWXYHZ.cjs → chunk-T6W3Z3SH.cjs} +2 -2
- package/dist/{chunk-U36W76U7.js → chunk-TEVX443G.js} +44 -51
- package/dist/{chunk-6DOKCECB.cjs → chunk-TQ377OLB.cjs} +23 -21
- package/dist/{chunk-YAPPQYJH.cjs → chunk-TRCGG42I.cjs} +195 -152
- package/dist/{chunk-H652NHX5.js → chunk-TVANHNJ7.js} +30 -23
- package/dist/{chunk-EKBKLK7P.js → chunk-UDE4OZMR.js} +3 -3
- package/dist/{chunk-3OIZJNVT.cjs → chunk-UGXHYIWT.cjs} +5 -5
- package/dist/{chunk-44GM3P4G.cjs → chunk-ULMSSHCJ.cjs} +21 -21
- package/dist/{chunk-3B5NVDHJ.cjs → chunk-UOL6Y5TD.cjs} +18 -18
- package/dist/{chunk-5S7RKFGR.cjs → chunk-UVFI7XIR.cjs} +10 -4
- package/dist/{chunk-5TIZXMED.cjs → chunk-V7AKE5VT.cjs} +10 -10
- package/dist/{chunk-3B7AY37W.js → chunk-VEPGBETF.js} +6 -6
- package/dist/{chunk-BKCK3IU6.js → chunk-VF257YKO.js} +4 -4
- package/dist/{chunk-4N4SXXWF.js → chunk-VSACG2AR.js} +3 -3
- package/dist/{chunk-ZDSYWBIE.cjs → chunk-VW5CRJBE.cjs} +3 -7
- package/dist/{chunk-PVWNU4QT.cjs → chunk-WFKVS2K4.cjs} +64 -26
- package/dist/{chunk-TDCJ7YPA.js → chunk-WXQ57LAO.js} +3 -3
- package/dist/{chunk-NE5CZ2NC.cjs → chunk-X27QRG4C.cjs} +38 -38
- package/dist/{chunk-TVHSPJ4N.cjs → chunk-X2AVEAZM.cjs} +30 -23
- package/dist/{chunk-C34AJIJO.js → chunk-XQ5MWMP2.js} +4 -4
- package/dist/{chunk-TFWYKOOB.cjs → chunk-XW6IXEQH.cjs} +26 -13
- package/dist/{chunk-YIVFJNYV.js → chunk-Y3ZFVUUU.js} +2 -2
- package/dist/{chunk-TJIMBJ6L.cjs → chunk-Y57W2CT5.cjs} +2 -2
- package/dist/{chunk-BFROVZOF.cjs → chunk-YCM6QQRT.cjs} +46 -53
- package/dist/{chunk-MBOOR7X4.js → chunk-YFVQWSNJ.js} +3 -3
- package/dist/{chunk-ISM4NX6N.js → chunk-YFWRJW4B.js} +2 -2
- package/dist/{chunk-6OTFG3EB.js → chunk-YN6IETRZ.js} +179 -136
- package/dist/{chunk-NPDNFPTU.js → chunk-YRRAUB35.js} +4 -4
- package/dist/{chunk-GCYR3D2K.js → chunk-Z6PMDS4G.js} +61 -23
- package/dist/{chunk-DPZXVDGM.js → chunk-ZA34AN3R.js} +8 -17
- package/dist/{chunk-EKYL4PE3.cjs → chunk-ZLF4YF3U.cjs} +2 -2
- package/dist/{chunk-VFKXK4GR.cjs → chunk-ZPZAVHXL.cjs} +20 -20
- package/dist/cli/holoscript-runner.cjs +39 -22
- package/dist/cli/holoscript-runner.js +32 -15
- package/dist/compiler/GasOptimizationAnalyzer.d.ts +73 -0
- package/dist/compiler/NFTMarketplaceCompiler.d.ts +23 -0
- package/dist/compiler/agent-inference.cjs +7 -7
- package/dist/compiler/agent-inference.js +3 -3
- package/dist/compiler/android-xr.cjs +8 -8
- package/dist/compiler/android-xr.js +6 -6
- package/dist/compiler/android.cjs +6 -6
- package/dist/compiler/android.js +4 -4
- package/dist/compiler/ar.cjs +6 -6
- package/dist/compiler/ar.js +4 -4
- package/dist/compiler/babylon.cjs +8 -8
- package/dist/compiler/babylon.js +7 -7
- package/dist/compiler/business-quest.cjs +9 -9
- package/dist/compiler/business-quest.js +1 -1
- package/dist/compiler/context.cjs +6 -6
- package/dist/compiler/context.js +3 -3
- package/dist/compiler/domain-block-utils.cjs +153 -153
- package/dist/compiler/domain-block-utils.js +4 -4
- package/dist/compiler/dtdl.cjs +7 -7
- package/dist/compiler/dtdl.js +4 -4
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +6 -6
- package/dist/compiler/godot.js +5 -5
- package/dist/compiler/incremental.cjs +8 -8
- package/dist/compiler/incremental.js +3 -3
- package/dist/compiler/index.cjs +347 -362
- package/dist/compiler/index.d.ts +20 -0
- package/dist/compiler/index.js +200 -215
- package/dist/compiler/ios.cjs +6 -6
- package/dist/compiler/ios.js +4 -4
- package/dist/compiler/llm-provider-capabilities.cjs +6 -6
- package/dist/compiler/llm-provider-capabilities.js +3 -3
- package/dist/compiler/multi-layer.cjs +10 -10
- package/dist/compiler/multi-layer.js +9 -9
- package/dist/compiler/openxr.cjs +7 -7
- package/dist/compiler/openxr.js +6 -6
- package/dist/compiler/playcanvas.cjs +6 -6
- package/dist/compiler/playcanvas.js +5 -5
- package/dist/compiler/r3f.cjs +13 -13
- package/dist/compiler/r3f.js +8 -8
- package/dist/compiler/sdf.cjs +7 -7
- package/dist/compiler/sdf.js +5 -5
- package/dist/compiler/state.cjs +6 -6
- package/dist/compiler/state.js +4 -4
- package/dist/compiler/trait-composition.cjs +8 -8
- package/dist/compiler/trait-composition.js +4 -4
- package/dist/compiler/unity.cjs +7 -7
- package/dist/compiler/unity.js +6 -6
- package/dist/compiler/unreal.cjs +8 -8
- package/dist/compiler/unreal.js +6 -6
- package/dist/compiler/urdf.cjs +14 -14
- package/dist/compiler/urdf.js +5 -5
- package/dist/compiler/usd-physics.cjs +7 -7
- package/dist/compiler/usd-physics.js +4 -4
- package/dist/compiler/visionos.cjs +7 -7
- package/dist/compiler/visionos.js +6 -6
- package/dist/compiler/vrchat.cjs +7 -7
- package/dist/compiler/vrchat.js +5 -5
- package/dist/compiler/vrr.cjs +7 -7
- package/dist/compiler/vrr.js +5 -5
- package/dist/compiler/wasm.cjs +10 -10
- package/dist/compiler/wasm.js +5 -5
- package/dist/compiler/webgpu.cjs +6 -6
- package/dist/compiler/webgpu.js +5 -5
- package/dist/coordinators/index.cjs +27 -10
- package/dist/coordinators/index.js +27 -10
- package/dist/debugger.cjs +6 -6
- package/dist/debugger.js +4 -4
- package/dist/entries/scripting.cjs +6 -6
- package/dist/entries/scripting.js +2 -2
- package/dist/hololand/index.cjs +36 -36
- package/dist/hololand/index.js +2 -2
- package/dist/index.cjs +1056 -796
- package/dist/index.js +440 -180
- package/dist/math/tropical-spmv.cjs +10 -10
- package/dist/math/tropical-spmv.js +1 -1
- package/dist/math/vec3.cjs +13 -13
- package/dist/math/vec3.js +1 -1
- package/dist/parser/NFTMarketplaceTypes.d.ts +191 -0
- package/dist/parser.cjs +16 -16
- package/dist/parser.js +5 -5
- package/dist/reconstruction/index.cjs +37 -37
- package/dist/reconstruction/index.js +4 -4
- package/dist/runtime.cjs +274 -76
- package/dist/runtime.d.ts +10 -1
- package/dist/runtime.js +268 -70
- package/dist/self-improvement/index.cjs +12 -4
- package/dist/self-improvement/index.js +12 -4
- package/dist/{src-HCCCSYP7.js → src-J6CM4AUR.js} +91 -33
- package/dist/{src-4ROC227P.cjs → src-PT2FERDV.cjs} +93 -35
- package/dist/testing.cjs +5 -5
- package/dist/testing.js +1 -1
- package/dist/traits/botanical-lotus.cjs +49 -49
- package/dist/traits/botanical-lotus.js +2 -2
- package/dist/traits/engines/index.cjs +39 -39
- package/dist/traits/engines/index.d.ts +279 -0
- package/dist/traits/engines/index.js +4 -4
- package/dist/traits/index.cjs +881 -773
- package/dist/traits/index.js +366 -258
- package/dist/world/index.cjs +21 -18
- package/dist/world/index.js +21 -18
- package/dist/world-model/index.cjs +11 -5
- package/dist/world-model/index.d.ts +8 -0
- package/dist/world-model/index.js +11 -5
- package/package.json +74 -68
- package/LICENSE +0 -21
- package/dist/GLTFPipeline-PVLTKDBD.cjs +0 -38
- package/dist/GLTFPipeline-QPI4I7DL.js +0 -17
- package/dist/HoloScriptPlusParser-WKHRIH6T.cjs +0 -27
- package/dist/HoloScriptRuntime-6ZGLUCFS.js +0 -10
- package/dist/HoloScriptRuntime-ALUASIL2.cjs +0 -19
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { init_material_properties_visual, init_surface_texture_visual, init_lighting_visual, init_gems_minerals_visual, init_fabric_cloth_visual, init_visual_effects_visual, init_age_condition_visual, init_water_fluid_visual, init_weather_phenomena_visual, init_emotion_mood_visual, init_size_scale_visual, init_environmental_biome_visual, init_magic_fantasy_visual, init_scifi_technology_visual, init_creatures_mythical_visual, init_nature_life_visual, init_furniture_decor_visual, init_construction_building_visual, init_containers_storage_visual, init_shape_form_visual, init_animals_visual, init_maritime_naval_visual, init_time_period_visual, init_accessibility_visual, init_accessibility_extended_visual, init_architecture_realestate_visual, init_audio_visual, init_cooking_food_visual, init_core_vr_interaction_visual, init_data_visualization_visual, init_education_learning_visual, init_environment_input_visual, init_game_mechanics_visual, init_geospatial_web3_visual, init_healthcare_medical_visual, init_humanoid_avatar_visual, init_intelligence_behavior_visual, init_interop_copresence_visual, init_iot_autonomous_agents_visual, init_locomotion_movement_visual, init_measurement_sensing_visual, init_media_analytics_visual, init_multisensory_haptic_visual, init_musical_sound_visual, init_music_performance_visual, init_narrative_storytelling_visual, init_networking_ai_visual, init_npc_roles_visual, init_object_interaction_visual, init_parser_core_ui_visual, init_physical_affordances_visual, init_physics_expansion_visual, init_procedural_generation_visual, init_resource_gathering_visual, init_safety_boundaries_visual, init_signs_communication_visual, init_simple_modifiers_visual, init_social_commerce_visual, init_social_effects_visual, init_sports_fitness_visual, init_state_persistence_visual, init_transportation_vehicles_visual, init_volumetric_webgpu_visual, init_weather_particles_visual, init_xr_platform_visual, MATERIAL_PROPERTIES_VISUALS, SURFACE_TEXTURE_VISUALS, LIGHTING_VISUALS, GEMS_MINERALS_VISUALS, FABRIC_CLOTH_VISUALS, VISUAL_EFFECTS_VISUALS, AGE_CONDITION_VISUALS, WATER_FLUID_VISUALS, WEATHER_PHENOMENA_VISUALS, EMOTION_MOOD_VISUALS, SIZE_SCALE_VISUALS, ENVIRONMENTAL_BIOME_VISUALS, MAGIC_FANTASY_VISUALS, SCIFI_TECHNOLOGY_VISUALS, CREATURES_MYTHICAL_VISUALS, NATURE_LIFE_VISUALS, FURNITURE_DECOR_VISUALS, CONSTRUCTION_BUILDING_VISUALS, CONTAINERS_STORAGE_VISUALS, SHAPE_FORM_VISUALS, ANIMALS_VISUALS, MARITIME_NAVAL_VISUALS, TIME_PERIOD_VISUALS, ACCESSIBILITY_VISUALS, ACCESSIBILITY_EXTENDED_VISUALS, ARCHITECTURE_REALESTATE_VISUALS, AUDIO_VISUALS, COOKING_FOOD_VISUALS, CORE_VR_INTERACTION_VISUALS, DATA_VISUALIZATION_VISUALS, EDUCATION_LEARNING_VISUALS, ENVIRONMENT_INPUT_VISUALS, GAME_MECHANICS_VISUALS, GEOSPATIAL_WEB3_VISUALS, HEALTHCARE_MEDICAL_VISUALS, HUMANOID_AVATAR_VISUALS, INTELLIGENCE_BEHAVIOR_VISUALS, INTEROP_COPRESENCE_VISUALS, IOT_AUTONOMOUS_AGENTS_VISUALS, LOCOMOTION_MOVEMENT_VISUALS, MEASUREMENT_SENSING_VISUALS, MEDIA_ANALYTICS_VISUALS, MULTISENSORY_HAPTIC_VISUALS, MUSICAL_SOUND_VISUALS, MUSIC_PERFORMANCE_VISUALS, NARRATIVE_STORYTELLING_VISUALS, NETWORKING_AI_VISUALS, NPC_ROLES_VISUALS, OBJECT_INTERACTION_VISUALS, PARSER_CORE_UI_VISUALS, PHYSICAL_AFFORDANCES_VISUALS, PHYSICS_EXPANSION_VISUALS, PROCEDURAL_GENERATION_VISUALS, RESOURCE_GATHERING_VISUALS, SAFETY_BOUNDARIES_VISUALS, SIGNS_COMMUNICATION_VISUALS, SIMPLE_MODIFIERS_VISUALS, SOCIAL_COMMERCE_VISUALS, SOCIAL_EFFECTS_VISUALS, SPORTS_FITNESS_VISUALS, STATE_PERSISTENCE_VISUALS, TRANSPORTATION_VEHICLES_VISUALS, VOLUMETRIC_WEBGPU_VISUALS, WEATHER_PARTICLES_VISUALS, XR_PLATFORM_VISUALS } from './chunk-XT6JY5W5.js';
|
|
2
|
-
import { init_BotanicalLotusTrait, createBotanicalLotusRenderProfile, buildLotusPetalMaterialSpec, LOTUS_PETAL_UNIFORM_BINDINGS, buildLotusPetalGeometryData, lotusPetalGeometryParamsFromProfile, buildLotusFlowerPlacements, buildLotusSceneScaffold } from './chunk-
|
|
3
|
-
import { init_ProvenanceSemiring, ProvenanceSemiring } from './chunk-
|
|
2
|
+
import { init_BotanicalLotusTrait, createBotanicalLotusRenderProfile, buildLotusPetalMaterialSpec, LOTUS_PETAL_UNIFORM_BINDINGS, buildLotusPetalGeometryData, lotusPetalGeometryParamsFromProfile, buildLotusFlowerPlacements, buildLotusSceneScaffold } from './chunk-B4EKV6HQ.js';
|
|
3
|
+
import { init_ProvenanceSemiring, ProvenanceSemiring } from './chunk-SLHLXUMO.js';
|
|
4
4
|
import { init_TraitVisualRegistry, init_types, init_TraitCompositor, TraitCompositor, TraitVisualRegistry } from './chunk-4C57PR42.js';
|
|
5
|
-
import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-
|
|
6
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileSimulationBlock, simulationToR3F, compileWeatherBlock, weatherToR3F, compileAudioSourceBlock, audioSourceToR3F, compilePostProcessingBlock, postProcessingToR3F, compileParticleBlock, particlesToR3F, compilePhysicsBlock, physicsToR3F, compileMaterialBlock, materialToR3F } from './chunk-
|
|
7
|
-
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError, escapeStringValue } from './chunk-
|
|
5
|
+
import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-GW3LKD5C.js';
|
|
6
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileSimulationBlock, simulationToR3F, compileWeatherBlock, weatherToR3F, compileAudioSourceBlock, audioSourceToR3F, compilePostProcessingBlock, postProcessingToR3F, compileParticleBlock, particlesToR3F, compilePhysicsBlock, physicsToR3F, compileMaterialBlock, materialToR3F } from './chunk-ZA34AN3R.js';
|
|
7
|
+
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError, escapeStringValue } from './chunk-C7ZBSV2Q.js';
|
|
8
8
|
import { __esm, __export } from './chunk-OL46QLBJ.js';
|
|
9
9
|
|
|
10
10
|
// src/traits/visual/presets/hologram-media.visual.ts
|
|
@@ -2898,7 +2898,9 @@ var init_R3FCompiler = __esm({
|
|
|
2898
2898
|
const childNodes = [];
|
|
2899
2899
|
if (world.children && world.children.length > 0) {
|
|
2900
2900
|
for (const child of world.children) {
|
|
2901
|
-
childNodes.push(
|
|
2901
|
+
childNodes.push(
|
|
2902
|
+
this.compileObjectDecl(child, templateMap)
|
|
2903
|
+
);
|
|
2902
2904
|
}
|
|
2903
2905
|
}
|
|
2904
2906
|
if (childNodes.length === 0) {
|
|
@@ -2967,12 +2969,47 @@ var init_R3FCompiler = __esm({
|
|
|
2967
2969
|
]).map(Number)
|
|
2968
2970
|
}
|
|
2969
2971
|
};
|
|
2972
|
+
const waterColor = profile.colors.water;
|
|
2973
|
+
const leafColor = profile.colors.leaf;
|
|
2970
2974
|
const leafDarkColor = profile.colors.leaf_dark;
|
|
2971
2975
|
const stemHeight = scaffold.stem.height;
|
|
2976
|
+
const scaffoldNodes = [
|
|
2977
|
+
this.createNode("mesh", {
|
|
2978
|
+
hsType: "plane",
|
|
2979
|
+
width: scaffold.waterSize,
|
|
2980
|
+
height: scaffold.waterSize,
|
|
2981
|
+
rotation: [-Math.PI / 2, 0, 0],
|
|
2982
|
+
color: waterColor,
|
|
2983
|
+
roughness: 0.22,
|
|
2984
|
+
metalness: 0.5,
|
|
2985
|
+
// Mark the pond as a REFLECTIVE surface — the renderer's generic MeshNode draws
|
|
2986
|
+
// it with a mirror material so the flower + pads reflect (a real water read).
|
|
2987
|
+
reflective: true
|
|
2988
|
+
}),
|
|
2989
|
+
...scaffold.pads.map(
|
|
2990
|
+
(pad, padIdx) => this.createNode("mesh", {
|
|
2991
|
+
hsType: "lilypad",
|
|
2992
|
+
radius: pad.radius,
|
|
2993
|
+
// Per-pad notch width variation so the pads don't look stamped.
|
|
2994
|
+
notchAngle: 0.48 + padIdx % 3 * 0.07,
|
|
2995
|
+
position: pad.pos,
|
|
2996
|
+
rotation: [-Math.PI / 2, 0, pad.rotation],
|
|
2997
|
+
color: pad.dark ? leafDarkColor : leafColor,
|
|
2998
|
+
roughness: 0.85
|
|
2999
|
+
})
|
|
3000
|
+
)
|
|
3001
|
+
];
|
|
2972
3002
|
const stemNode = this.createNode("group", {
|
|
2973
3003
|
__animatedTransform: [
|
|
2974
3004
|
{ prop: "scaleY", target: "developmentalTime", edge0: 0, edge1: 0.42, from: 1e-3, to: 1 },
|
|
2975
|
-
{
|
|
3005
|
+
{
|
|
3006
|
+
prop: "posY",
|
|
3007
|
+
target: "developmentalTime",
|
|
3008
|
+
edge0: 0,
|
|
3009
|
+
edge1: 0.42,
|
|
3010
|
+
from: 0,
|
|
3011
|
+
to: stemHeight / 2
|
|
3012
|
+
}
|
|
2976
3013
|
]
|
|
2977
3014
|
});
|
|
2978
3015
|
stemNode.children = [
|
|
@@ -2985,7 +3022,43 @@ var init_R3FCompiler = __esm({
|
|
|
2985
3022
|
roughness: 0.7
|
|
2986
3023
|
})
|
|
2987
3024
|
];
|
|
2988
|
-
|
|
3025
|
+
scaffoldNodes.push(stemNode);
|
|
3026
|
+
scaffold.leaves.forEach((lf, i) => {
|
|
3027
|
+
const leafNode = this.createNode("group", {
|
|
3028
|
+
position: lf.pos,
|
|
3029
|
+
__animatedTransform: [
|
|
3030
|
+
{
|
|
3031
|
+
prop: "scaleUniform",
|
|
3032
|
+
target: "developmentalTime",
|
|
3033
|
+
edge0: 0.15 + i * 0.08,
|
|
3034
|
+
edge1: 0.55 + i * 0.08,
|
|
3035
|
+
from: 0,
|
|
3036
|
+
to: 1
|
|
3037
|
+
}
|
|
3038
|
+
]
|
|
3039
|
+
});
|
|
3040
|
+
leafNode.children = [
|
|
3041
|
+
this.createNode("mesh", {
|
|
3042
|
+
hsType: "cylinder",
|
|
3043
|
+
radiusTop: 0.03,
|
|
3044
|
+
radiusBottom: 0.045,
|
|
3045
|
+
height: lf.height,
|
|
3046
|
+
position: [0, lf.height / 2, 0],
|
|
3047
|
+
color: leafDarkColor,
|
|
3048
|
+
roughness: 0.7
|
|
3049
|
+
}),
|
|
3050
|
+
this.createNode("mesh", {
|
|
3051
|
+
hsType: "circle",
|
|
3052
|
+
radius: lf.radius,
|
|
3053
|
+
position: [0, lf.height, 0],
|
|
3054
|
+
rotation: [-Math.PI / 2 + lf.tilt, 0, lf.rotation],
|
|
3055
|
+
color: lf.dark ? leafDarkColor : leafColor,
|
|
3056
|
+
roughness: 0.8
|
|
3057
|
+
})
|
|
3058
|
+
];
|
|
3059
|
+
scaffoldNodes.push(leafNode);
|
|
3060
|
+
});
|
|
3061
|
+
props.__scaffoldNodes = scaffoldNodes;
|
|
2989
3062
|
}
|
|
2990
3063
|
compileNode(node) {
|
|
2991
3064
|
if (node.type === "system") {
|
|
@@ -3061,7 +3134,9 @@ var init_R3FCompiler = __esm({
|
|
|
3061
3134
|
}
|
|
3062
3135
|
if (composition.environment) {
|
|
3063
3136
|
root.children.push(
|
|
3064
|
-
...this.compileEnvironmentBlock(
|
|
3137
|
+
...this.compileEnvironmentBlock(
|
|
3138
|
+
composition.environment
|
|
3139
|
+
)
|
|
3065
3140
|
);
|
|
3066
3141
|
}
|
|
3067
3142
|
if (Array.isArray(composition.lights)) {
|
|
@@ -3081,7 +3156,9 @@ var init_R3FCompiler = __esm({
|
|
|
3081
3156
|
}
|
|
3082
3157
|
if (Array.isArray(composition.timelines)) {
|
|
3083
3158
|
for (const timeline of composition.timelines) {
|
|
3084
|
-
root.children.push(
|
|
3159
|
+
root.children.push(
|
|
3160
|
+
this.compileTimelineBlock(timeline)
|
|
3161
|
+
);
|
|
3085
3162
|
}
|
|
3086
3163
|
}
|
|
3087
3164
|
if (Array.isArray(composition.audio)) {
|
|
@@ -3105,11 +3182,15 @@ var init_R3FCompiler = __esm({
|
|
|
3105
3182
|
}
|
|
3106
3183
|
}
|
|
3107
3184
|
if (composition.ui) {
|
|
3108
|
-
root.children.push(
|
|
3185
|
+
root.children.push(
|
|
3186
|
+
this.compileUIBlock(composition.ui)
|
|
3187
|
+
);
|
|
3109
3188
|
}
|
|
3110
3189
|
if (Array.isArray(composition.transitions)) {
|
|
3111
3190
|
for (const transition of composition.transitions) {
|
|
3112
|
-
root.children.push(
|
|
3191
|
+
root.children.push(
|
|
3192
|
+
this.compileTransitionBlock(transition)
|
|
3193
|
+
);
|
|
3113
3194
|
}
|
|
3114
3195
|
}
|
|
3115
3196
|
if (Array.isArray(composition.conditionals)) {
|
|
@@ -3123,7 +3204,9 @@ var init_R3FCompiler = __esm({
|
|
|
3123
3204
|
}
|
|
3124
3205
|
}
|
|
3125
3206
|
if (composition.camera) {
|
|
3126
|
-
root.children.push(
|
|
3207
|
+
root.children.push(
|
|
3208
|
+
this.compileCameraBlock(composition.camera)
|
|
3209
|
+
);
|
|
3127
3210
|
}
|
|
3128
3211
|
if (composition.effects) {
|
|
3129
3212
|
root.children.unshift(
|
|
@@ -4318,7 +4401,9 @@ var init_R3FCompiler = __esm({
|
|
|
4318
4401
|
} else if (d.name === "spatial_audio" || d.name === "voice") {
|
|
4319
4402
|
props.spatial = true;
|
|
4320
4403
|
} else if (d.name === "gem_resonance") {
|
|
4321
|
-
props.gemResonance = gemResonanceConfig(
|
|
4404
|
+
props.gemResonance = gemResonanceConfig(
|
|
4405
|
+
d.config
|
|
4406
|
+
);
|
|
4322
4407
|
props.spatial = true;
|
|
4323
4408
|
} else if (d.name === "networked") {
|
|
4324
4409
|
props.networked = d.config || true;
|
|
@@ -4444,5 +4529,5 @@ var init_R3FCompiler = __esm({
|
|
|
4444
4529
|
});
|
|
4445
4530
|
|
|
4446
4531
|
export { ASTNodePool, ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, R3FCompiler, R3FCompiler_exports, UI_COMPONENT_PRESETS, init_ObjectPool, init_R3FCompiler, init_visual, registerAllPresets };
|
|
4447
|
-
//# sourceMappingURL=chunk-
|
|
4448
|
-
//# sourceMappingURL=chunk-
|
|
4532
|
+
//# sourceMappingURL=chunk-MSYSQ2AJ.js.map
|
|
4533
|
+
//# sourceMappingURL=chunk-MSYSQ2AJ.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkEBS32AJI_cjs = require('./chunk-EBS32AJI.cjs');
|
|
4
|
+
var chunkGH6C2QGW_cjs = require('./chunk-GH6C2QGW.cjs');
|
|
5
|
+
var chunkLODTHGST_cjs = require('./chunk-LODTHGST.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
|
-
|
|
19
|
-
|
|
20
|
-
exports.UnityCompiler = class extends
|
|
17
|
+
chunkLODTHGST_cjs.init_CompilerBase();
|
|
18
|
+
chunkGH6C2QGW_cjs.init_DomainBlockCompilerMixin();
|
|
19
|
+
chunkEBS32AJI_cjs.init_PlatformConditionalCompilerMixin();
|
|
20
|
+
exports.UnityCompiler = class extends chunkLODTHGST_cjs.CompilerBase {
|
|
21
21
|
constructor(options = {}) {
|
|
22
22
|
super();
|
|
23
23
|
this.compilerName = "UnityCompiler";
|
|
@@ -32,7 +32,7 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
32
32
|
holomapPointCloud: options.holomapPointCloud
|
|
33
33
|
};
|
|
34
34
|
if (options.platformTarget) {
|
|
35
|
-
this._platformTarget = typeof options.platformTarget === "string" ?
|
|
35
|
+
this._platformTarget = typeof options.platformTarget === "string" ? chunkEBS32AJI_cjs.createPlatformTarget(options.platformTarget) : options.platformTarget;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
getRequiredCapability() {
|
|
@@ -41,7 +41,7 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
41
41
|
compile(composition, agentToken, outputPath) {
|
|
42
42
|
this.validateCompilerAccess(agentToken, outputPath);
|
|
43
43
|
if (this._platformTarget) {
|
|
44
|
-
const platformMixin = new
|
|
44
|
+
const platformMixin = new chunkEBS32AJI_cjs.PlatformConditionalCompilerMixin();
|
|
45
45
|
composition = platformMixin.filterForPlatform(composition, this._platformTarget);
|
|
46
46
|
}
|
|
47
47
|
this.lines = [];
|
|
@@ -154,30 +154,20 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
154
154
|
this.emit(` string holomapPosB64 = ${posLit};`);
|
|
155
155
|
this.emit(` string holomapColB64 = ${colLit};`);
|
|
156
156
|
this.emit(` int holomapN = ${h.pointCount};`);
|
|
157
|
-
this.emit(
|
|
158
|
-
|
|
159
|
-
);
|
|
160
|
-
this.emit(
|
|
161
|
-
" byte[] holomapCol = System.Convert.FromBase64String(holomapColB64);"
|
|
162
|
-
);
|
|
157
|
+
this.emit(" byte[] holomapPos = System.Convert.FromBase64String(holomapPosB64);");
|
|
158
|
+
this.emit(" byte[] holomapCol = System.Convert.FromBase64String(holomapColB64);");
|
|
163
159
|
this.emit(" if (holomapPos.Length >= holomapN * 12 && holomapCol.Length >= holomapN * 3)");
|
|
164
160
|
this.emit(" {");
|
|
165
|
-
this.emit(
|
|
166
|
-
' var holomapGo = new GameObject("HoloMapReconstructionPoints");'
|
|
167
|
-
);
|
|
161
|
+
this.emit(' var holomapGo = new GameObject("HoloMapReconstructionPoints");');
|
|
168
162
|
this.emit(" holomapGo.transform.SetParent(transform, false);");
|
|
169
163
|
this.emit(" var mesh = new Mesh();");
|
|
170
|
-
this.emit(
|
|
171
|
-
" mesh.indexFormat = UnityEngine.Rendering.IndexFormat.UInt32;"
|
|
172
|
-
);
|
|
164
|
+
this.emit(" mesh.indexFormat = UnityEngine.Rendering.IndexFormat.UInt32;");
|
|
173
165
|
this.emit(" var verts = new Vector3[holomapN];");
|
|
174
166
|
this.emit(" var cols = new Color32[holomapN];");
|
|
175
167
|
this.emit(" var idx = new int[holomapN];");
|
|
176
168
|
this.emit(" for (int i = 0; i < holomapN; i++)");
|
|
177
169
|
this.emit(" {");
|
|
178
|
-
this.emit(
|
|
179
|
-
" int p = i * 12; int c = i * 3;"
|
|
180
|
-
);
|
|
170
|
+
this.emit(" int p = i * 12; int c = i * 3;");
|
|
181
171
|
this.emit(
|
|
182
172
|
" verts[i] = new Vector3(System.BitConverter.ToSingle(holomapPos, p), System.BitConverter.ToSingle(holomapPos, p + 4), System.BitConverter.ToSingle(holomapPos, p + 8));"
|
|
183
173
|
);
|
|
@@ -193,13 +183,11 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
193
183
|
this.emit(" var mf = holomapGo.AddComponent<MeshFilter>();");
|
|
194
184
|
this.emit(" mf.sharedMesh = mesh;");
|
|
195
185
|
this.emit(" var mr = holomapGo.AddComponent<MeshRenderer>();");
|
|
186
|
+
this.emit(' var sh = Shader.Find("Universal Render Pipeline/Unlit");');
|
|
187
|
+
this.emit(' if (sh == null) sh = Shader.Find("Unlit/Color");');
|
|
196
188
|
this.emit(
|
|
197
|
-
'
|
|
198
|
-
);
|
|
199
|
-
this.emit(
|
|
200
|
-
' if (sh == null) sh = Shader.Find("Unlit/Color");'
|
|
189
|
+
' mr.sharedMaterial = sh != null ? new Material(sh) : new Material(Shader.Find("Hidden/InternalErrorShader"));'
|
|
201
190
|
);
|
|
202
|
-
this.emit(' mr.sharedMaterial = sh != null ? new Material(sh) : new Material(Shader.Find("Hidden/InternalErrorShader"));');
|
|
203
191
|
this.emit(" }");
|
|
204
192
|
this.emit(" }");
|
|
205
193
|
}
|
|
@@ -219,63 +207,63 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
219
207
|
this.emit("");
|
|
220
208
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
221
209
|
let blockIdx = 0;
|
|
222
|
-
const compiled =
|
|
210
|
+
const compiled = chunkGH6C2QGW_cjs.compileDomainBlocks(
|
|
223
211
|
domainBlocks,
|
|
224
212
|
{
|
|
225
213
|
material: (block) => {
|
|
226
|
-
const mat =
|
|
214
|
+
const mat = chunkGH6C2QGW_cjs.compileMaterialBlock(block);
|
|
227
215
|
const prefix = `db${blockIdx++}`;
|
|
228
|
-
return
|
|
216
|
+
return chunkGH6C2QGW_cjs.materialToUnity(mat, prefix);
|
|
229
217
|
},
|
|
230
218
|
physics: (block) => {
|
|
231
|
-
const phys =
|
|
219
|
+
const phys = chunkGH6C2QGW_cjs.compilePhysicsBlock(block);
|
|
232
220
|
const prefix = `db${blockIdx++}`;
|
|
233
|
-
return
|
|
221
|
+
return chunkGH6C2QGW_cjs.physicsToUnity(phys, prefix);
|
|
234
222
|
},
|
|
235
223
|
vfx: (block) => {
|
|
236
|
-
const ps =
|
|
224
|
+
const ps = chunkGH6C2QGW_cjs.compileParticleBlock(block);
|
|
237
225
|
const prefix = `db${blockIdx++}`;
|
|
238
|
-
return
|
|
226
|
+
return chunkGH6C2QGW_cjs.particlesToUnity(ps, prefix);
|
|
239
227
|
},
|
|
240
228
|
postfx: (block) => {
|
|
241
|
-
const pp =
|
|
242
|
-
return
|
|
229
|
+
const pp = chunkGH6C2QGW_cjs.compilePostProcessingBlock(block);
|
|
230
|
+
return chunkGH6C2QGW_cjs.postProcessingToUnity(pp);
|
|
243
231
|
},
|
|
244
232
|
audio: (block) => {
|
|
245
|
-
const audio =
|
|
233
|
+
const audio = chunkGH6C2QGW_cjs.compileAudioSourceBlock(block);
|
|
246
234
|
const prefix = `db${blockIdx++}`;
|
|
247
|
-
return
|
|
235
|
+
return chunkGH6C2QGW_cjs.audioSourceToUnity(audio, prefix);
|
|
248
236
|
},
|
|
249
237
|
weather: (block) => {
|
|
250
|
-
const weather =
|
|
251
|
-
return
|
|
238
|
+
const weather = chunkGH6C2QGW_cjs.compileWeatherBlock(block);
|
|
239
|
+
return chunkGH6C2QGW_cjs.weatherToUnity(weather);
|
|
252
240
|
},
|
|
253
241
|
narrative: (block) => {
|
|
254
|
-
const narr =
|
|
255
|
-
return
|
|
242
|
+
const narr = chunkGH6C2QGW_cjs.compileNarrativeBlock(block);
|
|
243
|
+
return chunkGH6C2QGW_cjs.narrativeToUnity(narr);
|
|
256
244
|
},
|
|
257
245
|
payment: (block) => {
|
|
258
|
-
const pay =
|
|
259
|
-
return
|
|
246
|
+
const pay = chunkGH6C2QGW_cjs.compilePaymentBlock(block);
|
|
247
|
+
return chunkGH6C2QGW_cjs.paymentToUnity(pay);
|
|
260
248
|
},
|
|
261
249
|
healthcare: (block) => {
|
|
262
|
-
const h =
|
|
263
|
-
return
|
|
250
|
+
const h = chunkGH6C2QGW_cjs.compileHealthcareBlock(block);
|
|
251
|
+
return chunkGH6C2QGW_cjs.healthcareToUnity(h);
|
|
264
252
|
},
|
|
265
253
|
robotics: (block) => {
|
|
266
|
-
const r =
|
|
267
|
-
return
|
|
254
|
+
const r = chunkGH6C2QGW_cjs.compileRoboticsBlock(block);
|
|
255
|
+
return chunkGH6C2QGW_cjs.roboticsToUnity(r);
|
|
268
256
|
},
|
|
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) =>
|
|
257
|
+
iot: (block) => chunkGH6C2QGW_cjs.iotToUnity(chunkGH6C2QGW_cjs.compileIoTBlock(block)),
|
|
258
|
+
dataviz: (block) => chunkGH6C2QGW_cjs.datavizToUnity(chunkGH6C2QGW_cjs.compileDataVizBlock(block)),
|
|
259
|
+
education: (block) => chunkGH6C2QGW_cjs.educationToUnity(chunkGH6C2QGW_cjs.compileEducationBlock(block)),
|
|
260
|
+
music: (block) => chunkGH6C2QGW_cjs.musicToUnity(chunkGH6C2QGW_cjs.compileMusicBlock(block)),
|
|
261
|
+
architecture: (block) => chunkGH6C2QGW_cjs.architectureToUnity(chunkGH6C2QGW_cjs.compileArchitectureBlock(block)),
|
|
262
|
+
web3: (block) => chunkGH6C2QGW_cjs.web3ToUnity(chunkGH6C2QGW_cjs.compileWeb3Block(block)),
|
|
263
|
+
procedural: (block) => chunkGH6C2QGW_cjs.proceduralToUnity(chunkGH6C2QGW_cjs.compileProceduralBlock(block)),
|
|
264
|
+
rendering: (block) => chunkGH6C2QGW_cjs.renderingToUnity(chunkGH6C2QGW_cjs.compileRenderingBlock(block)),
|
|
265
|
+
navigation: (block) => chunkGH6C2QGW_cjs.navigationToUnity(chunkGH6C2QGW_cjs.compileNavigationBlock(block)),
|
|
266
|
+
input: (block) => chunkGH6C2QGW_cjs.inputToUnity(chunkGH6C2QGW_cjs.compileInputBlock(block))
|
|
279
267
|
},
|
|
280
268
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
|
|
281
269
|
);
|
|
@@ -777,5 +765,5 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
777
765
|
|
|
778
766
|
exports.UnityCompiler_exports = UnityCompiler_exports;
|
|
779
767
|
exports.init_UnityCompiler = init_UnityCompiler;
|
|
780
|
-
//# sourceMappingURL=chunk-
|
|
781
|
-
//# sourceMappingURL=chunk-
|
|
768
|
+
//# sourceMappingURL=chunk-NGBXXZLL.cjs.map
|
|
769
|
+
//# sourceMappingURL=chunk-NGBXXZLL.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { init_VRRCompiler, VRRCompiler } from './chunk-
|
|
2
|
-
import { init_ARCompiler, ARCompiler } from './chunk-
|
|
3
|
-
import { init_BabylonCompiler, BabylonCompiler } from './chunk-
|
|
4
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_VRRCompiler, VRRCompiler } from './chunk-YRRAUB35.js';
|
|
2
|
+
import { init_ARCompiler, ARCompiler } from './chunk-5ET6L4NS.js';
|
|
3
|
+
import { init_BabylonCompiler, BabylonCompiler } from './chunk-VEPGBETF.js';
|
|
4
|
+
import { init_CompilerBase, CompilerBase } from './chunk-C7ZBSV2Q.js';
|
|
5
5
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
6
6
|
|
|
7
7
|
// src/compiler/MultiLayerCompiler.ts
|
|
@@ -66,5 +66,5 @@ var MultiLayerCompiler = class extends CompilerBase {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export { MultiLayerCompiler };
|
|
69
|
-
//# sourceMappingURL=chunk-
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
69
|
+
//# sourceMappingURL=chunk-NHJLP37F.js.map
|
|
70
|
+
//# sourceMappingURL=chunk-NHJLP37F.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLODTHGST_cjs = require('./chunk-LODTHGST.cjs');
|
|
4
4
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
5
5
|
var ans = require('@holoscript/core-types/ans');
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ chunkHCCQLAA4_cjs.__export(ARCompiler_exports, {
|
|
|
13
13
|
var AR_TRAIT_NAMES; exports.ARCompiler = void 0; exports.ARCompiler_default = void 0;
|
|
14
14
|
var init_ARCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
15
15
|
"src/compiler/ARCompiler.ts"() {
|
|
16
|
-
|
|
16
|
+
chunkLODTHGST_cjs.init_CompilerBase();
|
|
17
17
|
AR_TRAIT_NAMES = [
|
|
18
18
|
"ar_beacon",
|
|
19
19
|
"overlay",
|
|
@@ -23,7 +23,7 @@ var init_ARCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
23
23
|
"camera_overlay",
|
|
24
24
|
"x402_paywall"
|
|
25
25
|
];
|
|
26
|
-
exports.ARCompiler = class extends
|
|
26
|
+
exports.ARCompiler = class extends chunkLODTHGST_cjs.CompilerBase {
|
|
27
27
|
constructor(options = {}) {
|
|
28
28
|
super();
|
|
29
29
|
this.compilerName = "ARCompiler";
|
|
@@ -486,5 +486,5 @@ var init_ARCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
486
486
|
|
|
487
487
|
exports.ARCompiler_exports = ARCompiler_exports;
|
|
488
488
|
exports.init_ARCompiler = init_ARCompiler;
|
|
489
|
-
//# sourceMappingURL=chunk-
|
|
490
|
-
//# sourceMappingURL=chunk-
|
|
489
|
+
//# sourceMappingURL=chunk-NHYRRAGI.cjs.map
|
|
490
|
+
//# sourceMappingURL=chunk-NHYRRAGI.cjs.map
|