@hypersoniclabs/helix-cli 0.1.7 → 0.1.24-helix3.438
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 +631 -8
- package/assets/bridge/metahuman-eye-baked.png +0 -0
- package/assets/item-def-sounds/Common/A_DryShot.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_CloseCoverA.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_CloseCoverB.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_InsertMag.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_RemoveMag.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_ChargingHandle.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_01.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_02.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_03.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_InsertMag.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_RemoveMag.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_003.ogg +0 -0
- package/bridge-plugins/helix.bridge.unreal/bin/unreal-skeletal-mesh-extract.js +812 -0
- package/bridge-plugins/helix.bridge.unreal/bridge-plugin.json +40 -0
- package/bridge-plugins/helix.bridge.unreal/test/exporter.test.js +418 -0
- package/bridge-plugins/helix.bridge.unreal/test/handler.test.js +417 -0
- package/bridge-plugins/helix.bridge.unreal/unreal/export_skeletal_mesh.py +384 -0
- package/bridge-recipes/cyberpunk/cyberpunk-female-bone-map.json +476 -0
- package/bridge-recipes/sims4/README.md +43 -0
- package/bridge-recipes/sims4/sims4-female-bone-map.json +65 -0
- package/bridge-recipes/unreal/character-customizer/README.md +58 -0
- package/bridge-recipes/unreal/character-customizer/all.json +13 -0
- package/bridge-recipes/unreal/character-customizer/base-male-body.json +6 -0
- package/bridge-recipes/unreal/character-customizer/base-male-head.json +6 -0
- package/bridge-recipes/unreal/character-customizer/beard.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/beard.json +6 -0
- package/bridge-recipes/unreal/character-customizer/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/bottom.json +6 -0
- package/bridge-recipes/unreal/character-customizer/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/eyewear.json +6 -0
- package/bridge-recipes/unreal/character-customizer/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/footwear.json +6 -0
- package/bridge-recipes/unreal/character-customizer/hair.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/hair.json +6 -0
- package/bridge-recipes/unreal/character-customizer/test/recipes.test.js +74 -0
- package/bridge-recipes/unreal/character-customizer/top.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/top.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-female/README.md +57 -0
- package/bridge-recipes/unreal/helix-character-creator-female/all.json +18 -0
- package/bridge-recipes/unreal/helix-character-creator-female/back.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/back.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/base-female-face.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/base-female.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/bottom.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/eyewear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-basic-t-shirt.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-basic-t-shirt.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-hair.json +23 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-nebula-urbanghost.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-singles.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch5.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch6.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch7.json +11 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cargo-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-carnival-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-carnival-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-chain.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-chain.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-hole-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-hole-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-patch.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-patch.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-firefight-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-firefight-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-sneakers.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-sneakers.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-gamer-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-gamer-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-guy-fawkes-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-guy-fawkes-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a10.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a10.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a11.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a11.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a12.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a12.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a13.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a13.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a14.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a14.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a15.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a15.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a16.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a16.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a17.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a17.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a18.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a18.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a19.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a19.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a20.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a20.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a21.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a21.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a4.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a4.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a5.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a5.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a7.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a7.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a8.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a8.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a9.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a9.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-high-waist-tailored-trousers.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-high-waist-tailored-trousers.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hogwarts-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hogwarts-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hoody.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hoody.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-jacket-6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-jacket-6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-joker-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-joker-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes-brown.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes-brown.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-marshmallow-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-marshmallow-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-maska.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-maska.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-ninza-costume.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-ninza-costume.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-orange-kombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-orange-kombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panama.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panama.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panda-bag-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panda-bag-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pantslow.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pantslow.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-paper-bag-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-paper-bag-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pig-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pig-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-police-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-police-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-prison-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-prison-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-b4low.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-b4low.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-swimming.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-swimming.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shortlow.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shortlow.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shorts-b3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shorts-b3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-sterile-gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-sterile-gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-surgeon-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-surgeon-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-swat.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-swat.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-topx1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-topx1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-warehouse-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-warehouse-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wide-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wide-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wolf-set.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wolf-set.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-woman-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-woman-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-women-out-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-women-out-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/footwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/hair.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/hair.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/headwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/headwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/neck.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/neck.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/README.md +15 -0
- package/bridge-recipes/unreal/helix-character-creator-male/all.json +18 -0
- package/bridge-recipes/unreal/helix-character-creator-male/back.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/back.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/base-male-face.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/base-male.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/bottom.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/eyewear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/footwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/hair.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/hair.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/headwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/headwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-hair.json +23 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-nebula-urbanghost.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-uniforms.json +10 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch6-slot2.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch7-slot3.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch8-combined.json +11 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-boots-25.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-cargo-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-diamond-hands.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-diamond-hands.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-doctor-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-doctor-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-patch.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-patch.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-puffy.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-puffy.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-firefight-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-firefight-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-gamer-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-gamer-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a10.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a10.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a11.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a11.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a12.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a12.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a13.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a13.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a14.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a14.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a15.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a15.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a16.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a16.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a17.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a17.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a18.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a18.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a19.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a19.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a20.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a20.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a21.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a21.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a4.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a4.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a5.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a5.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a7.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a7.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a8.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a8.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a9.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a9.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown-v2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown-v2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-man-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-marshmallow-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-marshmallow-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-mikejack-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-coat.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-coat.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-mantle.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-mantle.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-tunic.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-tunic.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-orangekombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-orangekombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-out2-boots.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-out2-boots.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-panda-bag-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-panda-bag-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pants-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pants-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-paper-bag-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-paper-bag-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pig-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pig-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-police-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-police-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-prison-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-prison-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-puffer-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-puffer-jacket.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pullover-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pullover-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-robber-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-robber-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-short-swimming.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-short-swimming.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sinth-ascetic-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sinth-ascetic-jacket.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sip-cap.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sip-cap.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-socks.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-socks.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-surgeon-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-surgeon-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-tech-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-tech-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-warehouse-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-warehouse-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/neck.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/neck.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/palette-pilot.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/test/recipes.test.js +122 -0
- package/bridge-recipes/unreal/helix-character-creator-male/top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/bottom-nopalette.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/headwear-nopalette.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/neck-nopalette.addon.json +1 -0
- package/dist/ability.d.ts +2 -2
- package/dist/ability.js +6 -5
- package/dist/ability.js.map +1 -1
- package/dist/achievement.d.ts +123 -0
- package/dist/achievement.js +400 -0
- package/dist/achievement.js.map +1 -0
- package/dist/api.d.ts +19 -1
- package/dist/api.js +80 -6
- package/dist/api.js.map +1 -1
- package/dist/assets.d.ts +595 -0
- package/dist/assets.js +1121 -0
- package/dist/assets.js.map +1 -0
- package/dist/audioCommand.d.ts +65 -0
- package/dist/audioCommand.js +181 -0
- package/dist/audioCommand.js.map +1 -0
- package/dist/bakeBodyRegionsCli.d.ts +19 -0
- package/dist/bakeBodyRegionsCli.js +25 -0
- package/dist/bakeBodyRegionsCli.js.map +1 -0
- package/dist/bakeLighting.d.ts +173 -0
- package/dist/bakeLighting.js +452 -0
- package/dist/bakeLighting.js.map +1 -0
- package/dist/bridge/bridge.testutil.d.ts +105 -0
- package/dist/bridge/bridge.testutil.js +259 -0
- package/dist/bridge/bridge.testutil.js.map +1 -0
- package/dist/bridge/characterAddon.d.ts +47 -0
- package/dist/bridge/characterAddon.js +146 -0
- package/dist/bridge/characterAddon.js.map +1 -0
- package/dist/bridge/detect.d.ts +4 -0
- package/dist/bridge/detect.js +154 -0
- package/dist/bridge/detect.js.map +1 -0
- package/dist/bridge/execute.d.ts +3 -0
- package/dist/bridge/execute.js +206 -0
- package/dist/bridge/execute.js.map +1 -0
- package/dist/bridge/glb.d.ts +60 -0
- package/dist/bridge/glb.js +81 -0
- package/dist/bridge/glb.js.map +1 -0
- package/dist/bridge/hash.d.ts +6 -0
- package/dist/bridge/hash.js +40 -0
- package/dist/bridge/hash.js.map +1 -0
- package/dist/bridge/index.d.ts +11 -0
- package/dist/bridge/index.js +28 -0
- package/dist/bridge/index.js.map +1 -0
- package/dist/bridge/internal/artifacts.d.ts +5 -0
- package/dist/bridge/internal/artifacts.js +31 -0
- package/dist/bridge/internal/artifacts.js.map +1 -0
- package/dist/bridge/internal/builtInExecution.d.ts +4 -0
- package/dist/bridge/internal/builtInExecution.js +514 -0
- package/dist/bridge/internal/builtInExecution.js.map +1 -0
- package/dist/bridge/internal/externalExecution.d.ts +12 -0
- package/dist/bridge/internal/externalExecution.js +261 -0
- package/dist/bridge/internal/externalExecution.js.map +1 -0
- package/dist/bridge/internal/outputReservation.d.ts +13 -0
- package/dist/bridge/internal/outputReservation.js +151 -0
- package/dist/bridge/internal/outputReservation.js.map +1 -0
- package/dist/bridge/internal/snapshots.d.ts +32 -0
- package/dist/bridge/internal/snapshots.js +562 -0
- package/dist/bridge/internal/snapshots.js.map +1 -0
- package/dist/bridge/management.d.ts +40 -0
- package/dist/bridge/management.js +333 -0
- package/dist/bridge/management.js.map +1 -0
- package/dist/bridge/manifest.d.ts +8 -0
- package/dist/bridge/manifest.js +192 -0
- package/dist/bridge/manifest.js.map +1 -0
- package/dist/bridge/metahuman.d.ts +26 -0
- package/dist/bridge/metahuman.js +332 -0
- package/dist/bridge/metahuman.js.map +1 -0
- package/dist/bridge/planner.d.ts +9 -0
- package/dist/bridge/planner.js +246 -0
- package/dist/bridge/planner.js.map +1 -0
- package/dist/bridge/plugins.d.ts +17 -0
- package/dist/bridge/plugins.js +307 -0
- package/dist/bridge/plugins.js.map +1 -0
- package/dist/bridge/resolution.d.ts +8 -0
- package/dist/bridge/resolution.js +55 -0
- package/dist/bridge/resolution.js.map +1 -0
- package/dist/bridge/types.d.ts +247 -0
- package/dist/bridge/types.js +60 -0
- package/dist/bridge/types.js.map +1 -0
- package/dist/bridge/validate.d.ts +12 -0
- package/dist/bridge/validate.js +370 -0
- package/dist/bridge/validate.js.map +1 -0
- package/dist/bridge/zipSource.d.ts +27 -0
- package/dist/bridge/zipSource.js +90 -0
- package/dist/bridge/zipSource.js.map +1 -0
- package/dist/browser/hostSlots.d.ts +57 -0
- package/dist/browser/hostSlots.js +371 -0
- package/dist/browser/hostSlots.js.map +1 -0
- package/dist/browser/launch.d.ts +25 -0
- package/dist/browser/launch.js +74 -0
- package/dist/browser/launch.js.map +1 -0
- package/dist/browser/nonSystemChrome.d.ts +15 -0
- package/dist/browser/nonSystemChrome.js +91 -0
- package/dist/browser/nonSystemChrome.js.map +1 -0
- package/dist/builds/index.d.ts +54 -0
- package/dist/builds/index.js +215 -0
- package/dist/builds/index.js.map +1 -0
- package/dist/bundle.d.ts +35 -2
- package/dist/bundle.js +437 -20
- package/dist/bundle.js.map +1 -1
- package/dist/canary/cli.d.ts +17 -0
- package/dist/canary/cli.js +95 -0
- package/dist/canary/cli.js.map +1 -0
- package/dist/canary/index.d.ts +4 -0
- package/dist/canary/index.js +21 -0
- package/dist/canary/index.js.map +1 -0
- package/dist/canary/inventory.d.ts +46 -0
- package/dist/canary/inventory.js +499 -0
- package/dist/canary/inventory.js.map +1 -0
- package/dist/canary/pacifica.d.ts +51 -0
- package/dist/canary/pacifica.js +247 -0
- package/dist/canary/pacifica.js.map +1 -0
- package/dist/canary/plan.d.ts +115 -0
- package/dist/canary/plan.js +479 -0
- package/dist/canary/plan.js.map +1 -0
- package/dist/character/addonPushOut.d.ts +66 -0
- package/dist/character/addonPushOut.js +211 -0
- package/dist/character/addonPushOut.js.map +1 -0
- package/dist/character/avatarPreflight.d.ts +92 -0
- package/dist/character/avatarPreflight.js +261 -0
- package/dist/character/avatarPreflight.js.map +1 -0
- package/dist/character/bakeBodyRegions.d.ts +80 -0
- package/dist/character/bakeBodyRegions.js +190 -0
- package/dist/character/bakeBodyRegions.js.map +1 -0
- package/dist/character/baseColorGuard.d.ts +62 -0
- package/dist/character/baseColorGuard.js +141 -0
- package/dist/character/baseColorGuard.js.map +1 -0
- package/dist/character/bodyGeometryGuard.d.ts +243 -0
- package/dist/character/bodyGeometryGuard.js +417 -0
- package/dist/character/bodyGeometryGuard.js.map +1 -0
- package/dist/character/bodyRegionHide.d.ts +57 -0
- package/dist/character/bodyRegionHide.js +97 -0
- package/dist/character/bodyRegionHide.js.map +1 -0
- package/dist/character/composeBaseMale.d.ts +25 -0
- package/dist/character/composeBaseMale.js +712 -0
- package/dist/character/composeBaseMale.js.map +1 -0
- package/dist/character/esm.js +3 -1
- package/dist/character/esm.js.map +1 -1
- package/dist/character/faceManifest.d.ts +53 -0
- package/dist/character/faceManifest.js +256 -0
- package/dist/character/faceManifest.js.map +1 -0
- package/dist/character/fbx.d.ts +70 -0
- package/dist/character/fbx.js +396 -0
- package/dist/character/fbx.js.map +1 -0
- package/dist/character/fitGarmentFile.d.ts +39 -0
- package/dist/character/fitGarmentFile.js +53 -0
- package/dist/character/fitGarmentFile.js.map +1 -0
- package/dist/character/helixPalette.d.ts +68 -0
- package/dist/character/helixPalette.js +183 -0
- package/dist/character/helixPalette.js.map +1 -0
- package/dist/character/hideCoverage.d.ts +135 -0
- package/dist/character/hideCoverage.js +450 -0
- package/dist/character/hideCoverage.js.map +1 -0
- package/dist/character/imageLimits.d.ts +3 -0
- package/dist/character/imageLimits.js +7 -0
- package/dist/character/imageLimits.js.map +1 -0
- package/dist/character/importCharacter.d.ts +188 -10
- package/dist/character/importCharacter.js +854 -76
- package/dist/character/importCharacter.js.map +1 -1
- package/dist/character/importTrust.d.ts +11 -0
- package/dist/character/importTrust.js +56 -0
- package/dist/character/importTrust.js.map +1 -0
- package/dist/character/ktx2Decode.d.ts +11 -0
- package/dist/character/ktx2Decode.js +87 -0
- package/dist/character/ktx2Decode.js.map +1 -0
- package/dist/character/mat4.d.ts +7 -0
- package/dist/character/mat4.js +25 -2
- package/dist/character/mat4.js.map +1 -1
- package/dist/character/meshyToHelixMap.d.ts +14 -0
- package/dist/character/meshyToHelixMap.js +155 -3
- package/dist/character/meshyToHelixMap.js.map +1 -1
- package/dist/character/metahumanToHelixMap.d.ts +2 -0
- package/dist/character/metahumanToHelixMap.js +34 -0
- package/dist/character/metahumanToHelixMap.js.map +1 -0
- package/dist/character/normalMapGuard.d.ts +59 -0
- package/dist/character/normalMapGuard.js +139 -0
- package/dist/character/normalMapGuard.js.map +1 -0
- package/dist/character/quat.js +2 -2
- package/dist/character/quat.js.map +1 -1
- package/dist/character/reframeSkeletonFile.d.ts +19 -0
- package/dist/character/reframeSkeletonFile.js +45 -0
- package/dist/character/reframeSkeletonFile.js.map +1 -0
- package/dist/character/repairLodSkeletonsFile.d.ts +25 -0
- package/dist/character/repairLodSkeletonsFile.js +49 -0
- package/dist/character/repairLodSkeletonsFile.js.map +1 -0
- package/dist/character/restFrameGuard.d.ts +52 -0
- package/dist/character/restFrameGuard.js +90 -0
- package/dist/character/restFrameGuard.js.map +1 -0
- package/dist/character/slotBudgets.d.ts +37 -0
- package/dist/character/slotBudgets.generated.d.ts +15 -0
- package/dist/character/slotBudgets.generated.js +110 -0
- package/dist/character/slotBudgets.generated.js.map +1 -0
- package/dist/character/slotBudgets.js +45 -0
- package/dist/character/slotBudgets.js.map +1 -0
- package/dist/character/stages/atlasMaterials.d.ts +53 -0
- package/dist/character/stages/atlasMaterials.js +246 -0
- package/dist/character/stages/atlasMaterials.js.map +1 -0
- package/dist/character/stages/bakeTexture.d.ts +28 -7
- package/dist/character/stages/bakeTexture.js +586 -108
- package/dist/character/stages/bakeTexture.js.map +1 -1
- package/dist/character/stages/conform.d.ts +54 -9
- package/dist/character/stages/conform.js +686 -113
- package/dist/character/stages/conform.js.map +1 -1
- package/dist/character/stages/earClearance.d.ts +105 -0
- package/dist/character/stages/earClearance.js +480 -0
- package/dist/character/stages/earClearance.js.map +1 -0
- package/dist/character/stages/faceRegion.d.ts +55 -0
- package/dist/character/stages/faceRegion.js +183 -0
- package/dist/character/stages/faceRegion.js.map +1 -0
- package/dist/character/stages/firstPersonHide.d.ts +42 -0
- package/dist/character/stages/firstPersonHide.js +140 -0
- package/dist/character/stages/firstPersonHide.js.map +1 -0
- package/dist/character/stages/joinPerMesh.d.ts +18 -0
- package/dist/character/stages/joinPerMesh.js +46 -0
- package/dist/character/stages/joinPerMesh.js.map +1 -0
- package/dist/character/stages/ktx2.d.ts +6 -4
- package/dist/character/stages/ktx2.js +81 -29
- package/dist/character/stages/ktx2.js.map +1 -1
- package/dist/character/stages/limbBridge.d.ts +114 -0
- package/dist/character/stages/limbBridge.js +1286 -0
- package/dist/character/stages/limbBridge.js.map +1 -0
- package/dist/character/stages/mergeLods.d.ts +19 -0
- package/dist/character/stages/mergeLods.js +58 -2
- package/dist/character/stages/mergeLods.js.map +1 -1
- package/dist/character/stages/poseAwareFit.d.ts +192 -0
- package/dist/character/stages/poseAwareFit.js +417 -0
- package/dist/character/stages/poseAwareFit.js.map +1 -0
- package/dist/character/stages/poseFit/math.d.ts +141 -0
- package/dist/character/stages/poseFit/math.js +514 -0
- package/dist/character/stages/poseFit/math.js.map +1 -0
- package/dist/character/stages/poseFit/measure.d.ts +88 -0
- package/dist/character/stages/poseFit/measure.js +148 -0
- package/dist/character/stages/poseFit/measure.js.map +1 -0
- package/dist/character/stages/poseFit/model.d.ts +46 -0
- package/dist/character/stages/poseFit/model.js +147 -0
- package/dist/character/stages/poseFit/model.js.map +1 -0
- package/dist/character/stages/poseFit/offsetField.d.ts +76 -0
- package/dist/character/stages/poseFit/offsetField.js +249 -0
- package/dist/character/stages/poseFit/offsetField.js.map +1 -0
- package/dist/character/stages/poseFit/posing.d.ts +52 -0
- package/dist/character/stages/poseFit/posing.js +330 -0
- package/dist/character/stages/poseFit/posing.js.map +1 -0
- package/dist/character/stages/poseFit/testRig.d.ts +31 -0
- package/dist/character/stages/poseFit/testRig.js +85 -0
- package/dist/character/stages/poseFit/testRig.js.map +1 -0
- package/dist/character/stages/reframeSkeletonToHost.d.ts +35 -0
- package/dist/character/stages/reframeSkeletonToHost.js +111 -0
- package/dist/character/stages/reframeSkeletonToHost.js.map +1 -0
- package/dist/character/stages/report.js +0 -2
- package/dist/character/stages/report.js.map +1 -1
- package/dist/character/stages/resizeTextures.js +4 -4
- package/dist/character/stages/resizeTextures.js.map +1 -1
- package/dist/character/stages/retarget.d.ts +26 -2
- package/dist/character/stages/retarget.js +52 -4
- package/dist/character/stages/retarget.js.map +1 -1
- package/dist/character/stages/retargetClip.d.ts +6 -2
- package/dist/character/stages/retargetClip.js +109 -17
- package/dist/character/stages/retargetClip.js.map +1 -1
- package/dist/character/stages/sanitizeMaterials.d.ts +39 -0
- package/dist/character/stages/sanitizeMaterials.js +136 -0
- package/dist/character/stages/sanitizeMaterials.js.map +1 -0
- package/dist/character/stages/simplifyMesh.js +6 -3
- package/dist/character/stages/simplifyMesh.js.map +1 -1
- package/dist/character/stages/splitFacePrimitive.js +0 -2
- package/dist/character/stages/splitFacePrimitive.js.map +1 -1
- package/dist/character/stages/splitSharedLodSkeletons.d.ts +31 -0
- package/dist/character/stages/splitSharedLodSkeletons.js +104 -0
- package/dist/character/stages/splitSharedLodSkeletons.js.map +1 -0
- package/dist/character/stages/unifyMaterial.d.ts +66 -0
- package/dist/character/stages/unifyMaterial.js +136 -0
- package/dist/character/stages/unifyMaterial.js.map +1 -0
- package/dist/character/stages/vrmDynamics.d.ts +144 -0
- package/dist/character/stages/vrmDynamics.js +421 -0
- package/dist/character/stages/vrmDynamics.js.map +1 -0
- package/dist/character/stages/vrmFace.d.ts +82 -0
- package/dist/character/stages/vrmFace.js +280 -0
- package/dist/character/stages/vrmFace.js.map +1 -0
- package/dist/character/stages/weldedSimplify.d.ts +15 -1
- package/dist/character/stages/weldedSimplify.js +90 -9
- package/dist/character/stages/weldedSimplify.js.map +1 -1
- package/dist/character/testutil/meshyBridgeFixture.d.ts +33 -0
- package/dist/character/testutil/meshyBridgeFixture.js +219 -0
- package/dist/character/testutil/meshyBridgeFixture.js.map +1 -0
- package/dist/character/testutil/meshyHead.d.ts +19 -0
- package/dist/character/testutil/meshyHead.js +99 -0
- package/dist/character/testutil/meshyHead.js.map +1 -0
- package/dist/character/testutil/meshyRig.d.ts +17 -0
- package/dist/character/testutil/meshyRig.js +117 -0
- package/dist/character/testutil/meshyRig.js.map +1 -0
- package/dist/character/testutil/slotBudgetExpectations.d.ts +11 -0
- package/dist/character/testutil/slotBudgetExpectations.js +21 -0
- package/dist/character/testutil/slotBudgetExpectations.js.map +1 -0
- package/dist/character/testutil/syntheticRig.d.ts +12 -1
- package/dist/character/testutil/syntheticRig.js +88 -3
- package/dist/character/testutil/syntheticRig.js.map +1 -1
- package/dist/character/unrealMaterialSidecar.d.ts +94 -0
- package/dist/character/unrealMaterialSidecar.js +879 -0
- package/dist/character/unrealMaterialSidecar.js.map +1 -0
- package/dist/character/untrustedSource.d.ts +54 -0
- package/dist/character/untrustedSource.js +181 -0
- package/dist/character/untrustedSource.js.map +1 -0
- package/dist/character/vrmCharacter.d.ts +156 -0
- package/dist/character/vrmCharacter.js +678 -0
- package/dist/character/vrmCharacter.js.map +1 -0
- package/dist/config.d.ts +5 -0
- package/dist/config.js +72 -24
- package/dist/config.js.map +1 -1
- package/dist/continuum/adminPackagePinCommand.d.ts +14 -0
- package/dist/continuum/adminPackagePinCommand.js +46 -0
- package/dist/continuum/adminPackagePinCommand.js.map +1 -0
- package/dist/continuum/adminPackagePublishCommand.d.ts +13 -0
- package/dist/continuum/adminPackagePublishCommand.js +22 -0
- package/dist/continuum/adminPackagePublishCommand.js.map +1 -0
- package/dist/continuum/authoring.d.ts +52 -0
- package/dist/continuum/authoring.js +143 -0
- package/dist/continuum/authoring.js.map +1 -0
- package/dist/continuum/characterMigrationGenerator.d.ts +17 -0
- package/dist/continuum/characterMigrationGenerator.js +242 -0
- package/dist/continuum/characterMigrationGenerator.js.map +1 -0
- package/dist/continuum/cli.d.ts +69 -0
- package/dist/continuum/cli.js +145 -0
- package/dist/continuum/cli.js.map +1 -0
- package/dist/continuum/cliAuthority.d.ts +17 -0
- package/dist/continuum/cliAuthority.js +28 -0
- package/dist/continuum/cliAuthority.js.map +1 -0
- package/dist/continuum/client.d.ts +103 -0
- package/dist/continuum/client.js +190 -0
- package/dist/continuum/client.js.map +1 -0
- package/dist/continuum/homeScenePackage.d.ts +159 -0
- package/dist/continuum/homeScenePackage.js +267 -0
- package/dist/continuum/homeScenePackage.js.map +1 -0
- package/dist/continuum/homeScenePackageCommand.d.ts +44 -0
- package/dist/continuum/homeScenePackageCommand.js +107 -0
- package/dist/continuum/homeScenePackageCommand.js.map +1 -0
- package/dist/continuum/identity.d.ts +4 -0
- package/dist/continuum/identity.js +20 -0
- package/dist/continuum/identity.js.map +1 -0
- package/dist/continuum/index.d.ts +11 -0
- package/dist/continuum/index.js +28 -0
- package/dist/continuum/index.js.map +1 -0
- package/dist/continuum/missingNormals.d.ts +48 -0
- package/dist/continuum/missingNormals.js +99 -0
- package/dist/continuum/missingNormals.js.map +1 -0
- package/dist/continuum/objectUpload.d.ts +64 -0
- package/dist/continuum/objectUpload.js +375 -0
- package/dist/continuum/objectUpload.js.map +1 -0
- package/dist/continuum/pull.d.ts +22 -0
- package/dist/continuum/pull.js +47 -0
- package/dist/continuum/pull.js.map +1 -0
- package/dist/continuum/sourceBundle.d.ts +18 -0
- package/dist/continuum/sourceBundle.js +160 -0
- package/dist/continuum/sourceBundle.js.map +1 -0
- package/dist/continuum/state.d.ts +41 -0
- package/dist/continuum/state.js +198 -0
- package/dist/continuum/state.js.map +1 -0
- package/dist/continuum/types.d.ts +156 -0
- package/dist/continuum/types.js +6 -0
- package/dist/continuum/types.js.map +1 -0
- package/dist/continuum/workflow.d.ts +62 -0
- package/dist/continuum/workflow.js +592 -0
- package/dist/continuum/workflow.js.map +1 -0
- package/dist/cs2/areas.d.ts +41 -0
- package/dist/cs2/areas.js +82 -0
- package/dist/cs2/areas.js.map +1 -0
- package/dist/cs2/binary.d.ts +10 -0
- package/dist/cs2/binary.js +59 -0
- package/dist/cs2/binary.js.map +1 -0
- package/dist/cs2/cityLegacy.d.ts +29 -0
- package/dist/cs2/cityLegacy.js +48 -0
- package/dist/cs2/cityLegacy.js.map +1 -0
- package/dist/cs2/convert/areas.d.ts +32 -0
- package/dist/cs2/convert/areas.js +96 -0
- package/dist/cs2/convert/areas.js.map +1 -0
- package/dist/cs2/convert/glb.d.ts +48 -0
- package/dist/cs2/convert/glb.js +178 -0
- package/dist/cs2/convert/glb.js.map +1 -0
- package/dist/cs2/convert/markings.d.ts +96 -0
- package/dist/cs2/convert/markings.js +329 -0
- package/dist/cs2/convert/markings.js.map +1 -0
- package/dist/cs2/convert/nodeSeams.d.ts +20 -0
- package/dist/cs2/convert/nodeSeams.js +164 -0
- package/dist/cs2/convert/nodeSeams.js.map +1 -0
- package/dist/cs2/convert/roadBake.d.ts +112 -0
- package/dist/cs2/convert/roadBake.js +290 -0
- package/dist/cs2/convert/roadBake.js.map +1 -0
- package/dist/cs2/convert/roads.d.ts +110 -0
- package/dist/cs2/convert/roads.js +419 -0
- package/dist/cs2/convert/roads.js.map +1 -0
- package/dist/cs2/convert/terrain.d.ts +67 -0
- package/dist/cs2/convert/terrain.js +141 -0
- package/dist/cs2/convert/terrain.js.map +1 -0
- package/dist/cs2/convert/terrainConform.d.ts +58 -0
- package/dist/cs2/convert/terrainConform.js +284 -0
- package/dist/cs2/convert/terrainConform.js.map +1 -0
- package/dist/cs2/convert/treeRoadClearance.d.ts +17 -0
- package/dist/cs2/convert/treeRoadClearance.js +78 -0
- package/dist/cs2/convert/treeRoadClearance.js.map +1 -0
- package/dist/cs2/convert/trees.d.ts +33 -0
- package/dist/cs2/convert/trees.js +68 -0
- package/dist/cs2/convert/trees.js.map +1 -0
- package/dist/cs2/csm2.d.ts +58 -0
- package/dist/cs2/csm2.js +188 -0
- package/dist/cs2/csm2.js.map +1 -0
- package/dist/cs2/fixtures.d.ts +5 -0
- package/dist/cs2/fixtures.js +15 -0
- package/dist/cs2/fixtures.js.map +1 -0
- package/dist/cs2/impostors.d.ts +31 -0
- package/dist/cs2/impostors.js +42 -0
- package/dist/cs2/impostors.js.map +1 -0
- package/dist/cs2/index.d.ts +22 -0
- package/dist/cs2/index.js +191 -0
- package/dist/cs2/index.js.map +1 -0
- package/dist/cs2/inspect.d.ts +81 -0
- package/dist/cs2/inspect.js +181 -0
- package/dist/cs2/inspect.js.map +1 -0
- package/dist/cs2/lods.d.ts +22 -0
- package/dist/cs2/lods.js +136 -0
- package/dist/cs2/lods.js.map +1 -0
- package/dist/cs2/materials.d.ts +43 -0
- package/dist/cs2/materials.js +137 -0
- package/dist/cs2/materials.js.map +1 -0
- package/dist/cs2/placements.d.ts +57 -0
- package/dist/cs2/placements.js +116 -0
- package/dist/cs2/placements.js.map +1 -0
- package/dist/cs2/roadPieces.d.ts +79 -0
- package/dist/cs2/roadPieces.js +263 -0
- package/dist/cs2/roadPieces.js.map +1 -0
- package/dist/cs2/roads.d.ts +92 -0
- package/dist/cs2/roads.js +329 -0
- package/dist/cs2/roads.js.map +1 -0
- package/dist/cs2/terrain.d.ts +37 -0
- package/dist/cs2/terrain.js +91 -0
- package/dist/cs2/terrain.js.map +1 -0
- package/dist/cs2/types.d.ts +444 -0
- package/dist/cs2/types.js +22 -0
- package/dist/cs2/types.js.map +1 -0
- package/dist/cs2/water.d.ts +26 -0
- package/dist/cs2/water.js +58 -0
- package/dist/cs2/water.js.map +1 -0
- package/dist/currency.d.ts +94 -0
- package/dist/currency.js +425 -0
- package/dist/currency.js.map +1 -0
- package/dist/dev/devServer.d.ts +53 -0
- package/dist/dev/devServer.js +228 -0
- package/dist/dev/devServer.js.map +1 -0
- package/dist/dev/shellPage.d.ts +3 -0
- package/dist/dev/shellPage.js +297 -0
- package/dist/dev/shellPage.js.map +1 -0
- package/dist/dev/state.d.ts +84 -0
- package/dist/dev/state.js +265 -0
- package/dist/dev/state.js.map +1 -0
- package/dist/device.d.ts +104 -0
- package/dist/device.js +2744 -0
- package/dist/device.js.map +1 -0
- package/dist/deviceActionValidation.d.ts +21 -0
- package/dist/deviceActionValidation.js +460 -0
- package/dist/deviceActionValidation.js.map +1 -0
- package/dist/distribution.d.ts +69 -0
- package/dist/distribution.js +138 -0
- package/dist/distribution.js.map +1 -0
- package/dist/enginePins.d.ts +45 -0
- package/dist/enginePins.js +134 -0
- package/dist/enginePins.js.map +1 -0
- package/dist/gesture/axisReference.d.ts +22 -0
- package/dist/gesture/axisReference.js +32 -0
- package/dist/gesture/axisReference.js.map +1 -0
- package/dist/gesture/capture.d.ts +84 -0
- package/dist/gesture/capture.js +303 -0
- package/dist/gesture/capture.js.map +1 -0
- package/dist/gesture/harnessPage.d.ts +23 -0
- package/dist/gesture/harnessPage.js +153 -0
- package/dist/gesture/harnessPage.js.map +1 -0
- package/dist/gesture/inspect.d.ts +189 -0
- package/dist/gesture/inspect.js +678 -0
- package/dist/gesture/inspect.js.map +1 -0
- package/dist/gesture/rig.d.ts +12 -0
- package/dist/gesture/rig.js +111 -0
- package/dist/gesture/rig.js.map +1 -0
- package/dist/gesture/worldRuntime.d.ts +65 -0
- package/dist/gesture/worldRuntime.js +110 -0
- package/dist/gesture/worldRuntime.js.map +1 -0
- package/dist/glb/draw-calls.d.ts +60 -0
- package/dist/glb/draw-calls.js +160 -0
- package/dist/glb/draw-calls.js.map +1 -0
- package/dist/glb/glb-summary.d.ts +68 -0
- package/dist/glb/glb-summary.js +450 -0
- package/dist/glb/glb-summary.js.map +1 -0
- package/dist/glb/index.d.ts +12 -0
- package/dist/glb/index.js +24 -0
- package/dist/glb/index.js.map +1 -0
- package/dist/glb/smooth-normals.d.ts +98 -0
- package/dist/glb/smooth-normals.js +395 -0
- package/dist/glb/smooth-normals.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6786 -128
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +35 -1
- package/dist/init.js +1115 -47
- package/dist/init.js.map +1 -1
- package/dist/install.d.ts +16 -5
- package/dist/install.js +123 -23
- package/dist/install.js.map +1 -1
- package/dist/interactable.d.ts +154 -0
- package/dist/interactable.js +1219 -0
- package/dist/interactable.js.map +1 -0
- package/dist/item.d.ts +217 -0
- package/dist/item.js +892 -0
- package/dist/item.js.map +1 -0
- package/dist/itemDef/distribute.d.ts +17 -0
- package/dist/itemDef/distribute.js +29 -0
- package/dist/itemDef/distribute.js.map +1 -0
- package/dist/itemDef/emoteRules.d.ts +85 -0
- package/dist/itemDef/emoteRules.js +368 -0
- package/dist/itemDef/emoteRules.js.map +1 -0
- package/dist/itemDef/gunConfigRules.d.ts +24 -0
- package/dist/itemDef/gunConfigRules.js +300 -0
- package/dist/itemDef/gunConfigRules.js.map +1 -0
- package/dist/itemDef/inspect.d.ts +19 -0
- package/dist/itemDef/inspect.js +144 -0
- package/dist/itemDef/inspect.js.map +1 -0
- package/dist/itemDef/scaffold.d.ts +41 -0
- package/dist/itemDef/scaffold.js +303 -0
- package/dist/itemDef/scaffold.js.map +1 -0
- package/dist/itemDef/tables.d.ts +81 -0
- package/dist/itemDef/tables.js +226 -0
- package/dist/itemDef/tables.js.map +1 -0
- package/dist/itemDef/validate.d.ts +30 -0
- package/dist/itemDef/validate.js +175 -0
- package/dist/itemDef/validate.js.map +1 -0
- package/dist/itemPublishVersion.d.ts +46 -0
- package/dist/itemPublishVersion.js +242 -0
- package/dist/itemPublishVersion.js.map +1 -0
- package/dist/itemSearch.d.ts +128 -0
- package/dist/itemSearch.js +140 -0
- package/dist/itemSearch.js.map +1 -0
- package/dist/itemSetVersion.d.ts +77 -0
- package/dist/itemSetVersion.js +170 -0
- package/dist/itemSetVersion.js.map +1 -0
- package/dist/itemThumbnail.d.ts +40 -0
- package/dist/itemThumbnail.js +116 -0
- package/dist/itemThumbnail.js.map +1 -0
- package/dist/lib.d.ts +571 -7
- package/dist/lib.js +1178 -15
- package/dist/lib.js.map +1 -1
- package/dist/looks.d.ts +103 -0
- package/dist/looks.js +102 -0
- package/dist/looks.js.map +1 -0
- package/dist/materials/availability.d.ts +8 -0
- package/dist/materials/availability.js +22 -0
- package/dist/materials/availability.js.map +1 -0
- package/dist/materials/identity.d.ts +30 -0
- package/dist/materials/identity.js +68 -0
- package/dist/materials/identity.js.map +1 -0
- package/dist/materials/pins.d.ts +23 -0
- package/dist/materials/pins.js +93 -0
- package/dist/materials/pins.js.map +1 -0
- package/dist/mesh/surfaceBvh.d.ts +13 -0
- package/dist/mesh/surfaceBvh.js +197 -0
- package/dist/mesh/surfaceBvh.js.map +1 -0
- package/dist/module-validation.d.ts +2 -0
- package/dist/module-validation.js +24 -0
- package/dist/module-validation.js.map +1 -0
- package/dist/money.d.ts +183 -0
- package/dist/money.js +299 -0
- package/dist/money.js.map +1 -0
- package/dist/npc/capture.d.ts +41 -0
- package/dist/npc/capture.js +99 -0
- package/dist/npc/capture.js.map +1 -0
- package/dist/npc/format.d.ts +2 -0
- package/dist/npc/format.js +102 -0
- package/dist/npc/format.js.map +1 -0
- package/dist/npc/inspect.d.ts +23 -0
- package/dist/npc/inspect.js +54 -0
- package/dist/npc/inspect.js.map +1 -0
- package/dist/npc/metrics.d.ts +132 -0
- package/dist/npc/metrics.js +214 -0
- package/dist/npc/metrics.js.map +1 -0
- package/dist/npc/session.d.ts +35 -0
- package/dist/npc/session.js +172 -0
- package/dist/npc/session.js.map +1 -0
- package/dist/pack/locomotionReference.d.ts +40 -0
- package/dist/pack/locomotionReference.js +132 -0
- package/dist/pack/locomotionReference.js.map +1 -0
- package/dist/pack/scaffold.d.ts +15 -0
- package/dist/pack/scaffold.js +144 -0
- package/dist/pack/scaffold.js.map +1 -0
- package/dist/pack/validate.d.ts +67 -0
- package/dist/pack/validate.js +317 -0
- package/dist/pack/validate.js.map +1 -0
- package/dist/package.d.ts +14 -1
- package/dist/package.js +106 -7
- package/dist/package.js.map +1 -1
- package/dist/paletteShowcase.d.ts +183 -0
- package/dist/paletteShowcase.js +454 -0
- package/dist/paletteShowcase.js.map +1 -0
- package/dist/paletteShowcaseProfiles.d.ts +112 -0
- package/dist/paletteShowcaseProfiles.js +121 -0
- package/dist/paletteShowcaseProfiles.js.map +1 -0
- package/dist/paths.d.ts +4 -0
- package/dist/paths.js +11 -0
- package/dist/paths.js.map +1 -0
- package/dist/placementRequest.d.ts +37 -0
- package/dist/placementRequest.js +220 -0
- package/dist/placementRequest.js.map +1 -0
- package/dist/placements/assets.d.ts +7 -0
- package/dist/placements/assets.js +114 -0
- package/dist/placements/assets.js.map +1 -0
- package/dist/placements/attachFoliageLods.d.ts +4 -0
- package/dist/placements/attachFoliageLods.js +70 -0
- package/dist/placements/attachFoliageLods.js.map +1 -0
- package/dist/placements/attachImpostors.d.ts +3 -0
- package/dist/placements/attachImpostors.js +51 -0
- package/dist/placements/attachImpostors.js.map +1 -0
- package/dist/placements/authored.d.ts +11 -0
- package/dist/placements/authored.js +65 -0
- package/dist/placements/authored.js.map +1 -0
- package/dist/placements/bake.d.ts +2 -0
- package/dist/placements/bake.js +235 -0
- package/dist/placements/bake.js.map +1 -0
- package/dist/placements/captureHost.d.ts +4 -0
- package/dist/placements/captureHost.js +125 -0
- package/dist/placements/captureHost.js.map +1 -0
- package/dist/placements/foliageCapture.d.ts +2 -0
- package/dist/placements/foliageCapture.js +98 -0
- package/dist/placements/foliageCapture.js.map +1 -0
- package/dist/placements/foliageCards.d.ts +17 -0
- package/dist/placements/foliageCards.js +120 -0
- package/dist/placements/foliageCards.js.map +1 -0
- package/dist/placements/foliageLods.d.ts +8 -0
- package/dist/placements/foliageLods.js +240 -0
- package/dist/placements/foliageLods.js.map +1 -0
- package/dist/placements/foliageTexture.d.ts +4 -0
- package/dist/placements/foliageTexture.js +91 -0
- package/dist/placements/foliageTexture.js.map +1 -0
- package/dist/placements/impostorCapture.d.ts +2 -0
- package/dist/placements/impostorCapture.js +111 -0
- package/dist/placements/impostorCapture.js.map +1 -0
- package/dist/placements/impostors.d.ts +18 -0
- package/dist/placements/impostors.js +279 -0
- package/dist/placements/impostors.js.map +1 -0
- package/dist/placements/source.d.ts +53 -0
- package/dist/placements/source.js +111 -0
- package/dist/placements/source.js.map +1 -0
- package/dist/product.d.ts +84 -0
- package/dist/product.js +285 -0
- package/dist/product.js.map +1 -0
- package/dist/publications.d.ts +116 -0
- package/dist/publications.js +180 -0
- package/dist/publications.js.map +1 -0
- package/dist/publishDuplicateGuard.d.ts +92 -0
- package/dist/publishDuplicateGuard.js +128 -0
- package/dist/publishDuplicateGuard.js.map +1 -0
- package/dist/realizability.d.ts +36 -0
- package/dist/realizability.js +269 -0
- package/dist/realizability.js.map +1 -0
- package/dist/resolve.d.ts +7 -1
- package/dist/resolve.js +77 -11
- package/dist/resolve.js.map +1 -1
- package/dist/sceneElements/compiler.d.ts +21 -0
- package/dist/sceneElements/compiler.js +976 -0
- package/dist/sceneElements/compiler.js.map +1 -0
- package/dist/sceneElements/continuum.d.ts +54 -0
- package/dist/sceneElements/continuum.js +451 -0
- package/dist/sceneElements/continuum.js.map +1 -0
- package/dist/sceneElements/devices.d.ts +12 -0
- package/dist/sceneElements/devices.js +212 -0
- package/dist/sceneElements/devices.js.map +1 -0
- package/dist/sceneElements/meshCells.d.ts +49 -0
- package/dist/sceneElements/meshCells.js +174 -0
- package/dist/sceneElements/meshCells.js.map +1 -0
- package/dist/sceneElements/types.d.ts +261 -0
- package/dist/sceneElements/types.js +3 -0
- package/dist/sceneElements/types.js.map +1 -0
- package/dist/sceneHlod/approximate.d.ts +23 -0
- package/dist/sceneHlod/approximate.js +171 -0
- package/dist/sceneHlod/approximate.js.map +1 -0
- package/dist/sceneHlod/artifact.d.ts +3 -0
- package/dist/sceneHlod/artifact.js +29 -0
- package/dist/sceneHlod/artifact.js.map +1 -0
- package/dist/sceneHlod/bakeSurface.d.ts +2 -0
- package/dist/sceneHlod/bakeSurface.js +59 -0
- package/dist/sceneHlod/bakeSurface.js.map +1 -0
- package/dist/sceneHlod/basisEncoder.d.ts +3 -0
- package/dist/sceneHlod/basisEncoder.js +68 -0
- package/dist/sceneHlod/basisEncoder.js.map +1 -0
- package/dist/sceneHlod/cellArtifact.d.ts +17 -0
- package/dist/sceneHlod/cellArtifact.js +78 -0
- package/dist/sceneHlod/cellArtifact.js.map +1 -0
- package/dist/sceneHlod/commands.d.ts +2 -0
- package/dist/sceneHlod/commands.js +114 -0
- package/dist/sceneHlod/commands.js.map +1 -0
- package/dist/sceneHlod/complete.d.ts +78 -0
- package/dist/sceneHlod/complete.js +261 -0
- package/dist/sceneHlod/complete.js.map +1 -0
- package/dist/sceneHlod/completePrototype.d.ts +39 -0
- package/dist/sceneHlod/completePrototype.js +121 -0
- package/dist/sceneHlod/completePrototype.js.map +1 -0
- package/dist/sceneHlod/geometry.d.ts +6 -0
- package/dist/sceneHlod/geometry.js +101 -0
- package/dist/sceneHlod/geometry.js.map +1 -0
- package/dist/sceneHlod/imageSampling.d.ts +11 -0
- package/dist/sceneHlod/imageSampling.js +100 -0
- package/dist/sceneHlod/imageSampling.js.map +1 -0
- package/dist/sceneHlod/refinement.d.ts +46 -0
- package/dist/sceneHlod/refinement.js +204 -0
- package/dist/sceneHlod/refinement.js.map +1 -0
- package/dist/sceneHlod/scene.d.ts +80 -0
- package/dist/sceneHlod/scene.js +264 -0
- package/dist/sceneHlod/scene.js.map +1 -0
- package/dist/sceneHlod/sharedAtlas.d.ts +37 -0
- package/dist/sceneHlod/sharedAtlas.js +84 -0
- package/dist/sceneHlod/sharedAtlas.js.map +1 -0
- package/dist/sceneHlod/source.d.ts +17 -0
- package/dist/sceneHlod/source.js +241 -0
- package/dist/sceneHlod/source.js.map +1 -0
- package/dist/sceneHlod/textureCodec.d.ts +4 -0
- package/dist/sceneHlod/textureCodec.js +66 -0
- package/dist/sceneHlod/textureCodec.js.map +1 -0
- package/dist/sceneHlod/transfer.d.ts +8 -0
- package/dist/sceneHlod/transfer.js +147 -0
- package/dist/sceneHlod/transfer.js.map +1 -0
- package/dist/sceneHlod/types.d.ts +69 -0
- package/dist/sceneHlod/types.js +3 -0
- package/dist/sceneHlod/types.js.map +1 -0
- package/dist/sceneImport/archive.d.ts +30 -0
- package/dist/sceneImport/archive.js +336 -0
- package/dist/sceneImport/archive.js.map +1 -0
- package/dist/sceneImport/bistroMaterialBake.d.ts +20 -0
- package/dist/sceneImport/bistroMaterialBake.js +169 -0
- package/dist/sceneImport/bistroMaterialBake.js.map +1 -0
- package/dist/sceneImport/bistroTexturePlan.d.ts +6 -0
- package/dist/sceneImport/bistroTexturePlan.js +23 -0
- package/dist/sceneImport/bistroTexturePlan.js.map +1 -0
- package/dist/sceneImport/compiler.d.ts +36 -0
- package/dist/sceneImport/compiler.js +251 -0
- package/dist/sceneImport/compiler.js.map +1 -0
- package/dist/sceneImport/composeMounts.d.ts +159 -0
- package/dist/sceneImport/composeMounts.js +687 -0
- package/dist/sceneImport/composeMounts.js.map +1 -0
- package/dist/sceneImport/defaultMaterials.d.ts +45 -0
- package/dist/sceneImport/defaultMaterials.js +121 -0
- package/dist/sceneImport/defaultMaterials.js.map +1 -0
- package/dist/sceneImport/externalTextures.d.ts +44 -0
- package/dist/sceneImport/externalTextures.js +146 -0
- package/dist/sceneImport/externalTextures.js.map +1 -0
- package/dist/sceneImport/fbx.d.ts +101 -0
- package/dist/sceneImport/fbx.js +307 -0
- package/dist/sceneImport/fbx.js.map +1 -0
- package/dist/sceneImport/glbSplit.d.ts +24 -0
- package/dist/sceneImport/glbSplit.js +95 -0
- package/dist/sceneImport/glbSplit.js.map +1 -0
- package/dist/sceneImport/gltfIo.d.ts +32 -0
- package/dist/sceneImport/gltfIo.js +39 -0
- package/dist/sceneImport/gltfIo.js.map +1 -0
- package/dist/sceneImport/helsinkiTiles.d.ts +31 -0
- package/dist/sceneImport/helsinkiTiles.js +52 -0
- package/dist/sceneImport/helsinkiTiles.js.map +1 -0
- package/dist/sceneImport/materials/binding.d.ts +16 -0
- package/dist/sceneImport/materials/binding.js +42 -0
- package/dist/sceneImport/materials/binding.js.map +1 -0
- package/dist/sceneImport/materials/catalog.d.ts +36 -0
- package/dist/sceneImport/materials/catalog.js +233 -0
- package/dist/sceneImport/materials/catalog.js.map +1 -0
- package/dist/sceneImport/materials/index.d.ts +4 -0
- package/dist/sceneImport/materials/index.js +21 -0
- package/dist/sceneImport/materials/index.js.map +1 -0
- package/dist/sceneImport/materials/matcher.d.ts +33 -0
- package/dist/sceneImport/materials/matcher.js +127 -0
- package/dist/sceneImport/materials/matcher.js.map +1 -0
- package/dist/sceneImport/materials/recipe.d.ts +30 -0
- package/dist/sceneImport/materials/recipe.js +134 -0
- package/dist/sceneImport/materials/recipe.js.map +1 -0
- package/dist/sceneImport/multiAsset.d.ts +79 -0
- package/dist/sceneImport/multiAsset.js +535 -0
- package/dist/sceneImport/multiAsset.js.map +1 -0
- package/dist/sceneImport/multiAssetSpawn.d.ts +40 -0
- package/dist/sceneImport/multiAssetSpawn.js +98 -0
- package/dist/sceneImport/multiAssetSpawn.js.map +1 -0
- package/dist/sceneImport/obj.d.ts +41 -0
- package/dist/sceneImport/obj.js +276 -0
- package/dist/sceneImport/obj.js.map +1 -0
- package/dist/sceneImport/package.d.ts +104 -0
- package/dist/sceneImport/package.js +1004 -0
- package/dist/sceneImport/package.js.map +1 -0
- package/dist/sceneImport/packageReader.d.ts +10 -0
- package/dist/sceneImport/packageReader.js +250 -0
- package/dist/sceneImport/packageReader.js.map +1 -0
- package/dist/sceneImport/proxy.d.ts +100 -0
- package/dist/sceneImport/proxy.js +334 -0
- package/dist/sceneImport/proxy.js.map +1 -0
- package/dist/sceneImport/publish.d.ts +47 -0
- package/dist/sceneImport/publish.js +98 -0
- package/dist/sceneImport/publish.js.map +1 -0
- package/dist/sceneImport/semantic.d.ts +75 -0
- package/dist/sceneImport/semantic.js +296 -0
- package/dist/sceneImport/semantic.js.map +1 -0
- package/dist/sceneImport/spawnProbe.d.ts +55 -0
- package/dist/sceneImport/spawnProbe.js +159 -0
- package/dist/sceneImport/spawnProbe.js.map +1 -0
- package/dist/sceneImport/streamLayout.d.ts +96 -0
- package/dist/sceneImport/streamLayout.js +203 -0
- package/dist/sceneImport/streamLayout.js.map +1 -0
- package/dist/sceneImport/textureDecode.d.ts +21 -0
- package/dist/sceneImport/textureDecode.js +292 -0
- package/dist/sceneImport/textureDecode.js.map +1 -0
- package/dist/sceneImport/types.d.ts +84 -0
- package/dist/sceneImport/types.js +58 -0
- package/dist/sceneImport/types.js.map +1 -0
- package/dist/scenePerformance.d.ts +162 -0
- package/dist/scenePerformance.js +905 -0
- package/dist/scenePerformance.js.map +1 -0
- package/dist/screenshot/captureScreenshots.d.ts +36 -0
- package/dist/screenshot/captureScreenshots.js +229 -0
- package/dist/screenshot/captureScreenshots.js.map +1 -0
- package/dist/screenshot/encodeImagePreview.d.ts +5 -0
- package/dist/screenshot/encodeImagePreview.js +42 -0
- package/dist/screenshot/encodeImagePreview.js.map +1 -0
- package/dist/screenshot/publishThumbnail.d.ts +4 -0
- package/dist/screenshot/publishThumbnail.js +56 -0
- package/dist/screenshot/publishThumbnail.js.map +1 -0
- package/dist/screenshot/staticServe.d.ts +14 -0
- package/dist/screenshot/staticServe.js +120 -0
- package/dist/screenshot/staticServe.js.map +1 -0
- package/dist/source-archive.d.ts +101 -0
- package/dist/source-archive.js +309 -0
- package/dist/source-archive.js.map +1 -0
- package/dist/stdioBlocking.d.ts +1 -0
- package/dist/stdioBlocking.js +9 -0
- package/dist/stdioBlocking.js.map +1 -0
- package/dist/terrain/bake.d.ts +40 -0
- package/dist/terrain/bake.js +318 -0
- package/dist/terrain/bake.js.map +1 -0
- package/dist/terrain/generate.d.ts +21 -0
- package/dist/terrain/generate.js +239 -0
- package/dist/terrain/generate.js.map +1 -0
- package/dist/terrain/grid.d.ts +48 -0
- package/dist/terrain/grid.js +133 -0
- package/dist/terrain/grid.js.map +1 -0
- package/dist/terrain/import.d.ts +40 -0
- package/dist/terrain/import.js +252 -0
- package/dist/terrain/import.js.map +1 -0
- package/dist/terrain/index.d.ts +11 -0
- package/dist/terrain/index.js +88 -0
- package/dist/terrain/index.js.map +1 -0
- package/dist/terrain/inspect.d.ts +35 -0
- package/dist/terrain/inspect.js +115 -0
- package/dist/terrain/inspect.js.map +1 -0
- package/dist/terrain/island.d.ts +31 -0
- package/dist/terrain/island.js +128 -0
- package/dist/terrain/island.js.map +1 -0
- package/dist/terrain/noise.d.ts +79 -0
- package/dist/terrain/noise.js +162 -0
- package/dist/terrain/noise.js.map +1 -0
- package/dist/terrain/normals.d.ts +21 -0
- package/dist/terrain/normals.js +55 -0
- package/dist/terrain/normals.js.map +1 -0
- package/dist/terrain/presets/alpine.json +20 -0
- package/dist/terrain/presets/coast.json +20 -0
- package/dist/terrain/presets/desert.json +22 -0
- package/dist/terrain/presets/forest.json +20 -0
- package/dist/terrain/presets/meadow.json +20 -0
- package/dist/terrain/presets/volcanic.json +22 -0
- package/dist/terrain/presets.d.ts +29 -0
- package/dist/terrain/presets.js +128 -0
- package/dist/terrain/presets.js.map +1 -0
- package/dist/terrain/source.d.ts +42 -0
- package/dist/terrain/source.js +241 -0
- package/dist/terrain/source.js.map +1 -0
- package/dist/terrain/tile.d.ts +92 -0
- package/dist/terrain/tile.js +268 -0
- package/dist/terrain/tile.js.map +1 -0
- package/dist/textureAudit.d.ts +23 -0
- package/dist/textureAudit.js +192 -0
- package/dist/textureAudit.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/unreal/avatarMode.d.ts +21 -0
- package/dist/unreal/avatarMode.js +33 -0
- package/dist/unreal/avatarMode.js.map +1 -0
- package/dist/unreal/delivery.d.ts +46 -0
- package/dist/unreal/delivery.js +89 -0
- package/dist/unreal/delivery.js.map +1 -0
- package/dist/unreal/doctor.d.ts +50 -0
- package/dist/unreal/doctor.js +102 -0
- package/dist/unreal/doctor.js.map +1 -0
- package/dist/unreal/package.d.ts +80 -0
- package/dist/unreal/package.js +273 -0
- package/dist/unreal/package.js.map +1 -0
- package/dist/unreal/release.d.ts +41 -0
- package/dist/unreal/release.js +122 -0
- package/dist/unreal/release.js.map +1 -0
- package/dist/unreal.d.ts +30 -0
- package/dist/unreal.js +362 -0
- package/dist/unreal.js.map +1 -0
- package/dist/unrealCandidate.d.ts +213 -0
- package/dist/unrealCandidate.js +765 -0
- package/dist/unrealCandidate.js.map +1 -0
- package/dist/unrealManifest.d.ts +74 -0
- package/dist/unrealManifest.js +354 -0
- package/dist/unrealManifest.js.map +1 -0
- package/dist/unrealPublish.d.ts +111 -0
- package/dist/unrealPublish.js +331 -0
- package/dist/unrealPublish.js.map +1 -0
- package/dist/vault.d.ts +121 -0
- package/dist/vault.js +136 -0
- package/dist/vault.js.map +1 -0
- package/dist/vehicle/addOnDefinition.d.ts +19 -0
- package/dist/vehicle/addOnDefinition.js +21 -0
- package/dist/vehicle/addOnDefinition.js.map +1 -0
- package/dist/vehicle/addon.d.ts +158 -0
- package/dist/vehicle/addon.js +441 -0
- package/dist/vehicle/addon.js.map +1 -0
- package/dist/vehicle/addonDefinitionGuard.d.ts +53 -0
- package/dist/vehicle/addonDefinitionGuard.js +206 -0
- package/dist/vehicle/addonDefinitionGuard.js.map +1 -0
- package/dist/vehicle/addonPublished.d.ts +80 -0
- package/dist/vehicle/addonPublished.js +221 -0
- package/dist/vehicle/addonPublished.js.map +1 -0
- package/dist/vehicle/audio.d.ts +259 -0
- package/dist/vehicle/audio.js +1069 -0
- package/dist/vehicle/audio.js.map +1 -0
- package/dist/vehicle/audioDefects.d.ts +125 -0
- package/dist/vehicle/audioDefects.js +591 -0
- package/dist/vehicle/audioDefects.js.map +1 -0
- package/dist/vehicle/audioDistinct.d.ts +62 -0
- package/dist/vehicle/audioDistinct.js +479 -0
- package/dist/vehicle/audioDistinct.js.map +1 -0
- package/dist/vehicle/audioImport.d.ts +217 -0
- package/dist/vehicle/audioImport.js +610 -0
- package/dist/vehicle/audioImport.js.map +1 -0
- package/dist/vehicle/audioProvenance.d.ts +47 -0
- package/dist/vehicle/audioProvenance.js +364 -0
- package/dist/vehicle/audioProvenance.js.map +1 -0
- package/dist/vehicle/audioReference.d.ts +36 -0
- package/dist/vehicle/audioReference.js +176 -0
- package/dist/vehicle/audioReference.js.map +1 -0
- package/dist/vehicle/audioSlots.d.ts +27 -0
- package/dist/vehicle/audioSlots.js +43 -0
- package/dist/vehicle/audioSlots.js.map +1 -0
- package/dist/vehicle/audioSpectral.d.ts +71 -0
- package/dist/vehicle/audioSpectral.js +534 -0
- package/dist/vehicle/audioSpectral.js.map +1 -0
- package/dist/vehicle/cabinCheck.d.ts +209 -0
- package/dist/vehicle/cabinCheck.js +799 -0
- package/dist/vehicle/cabinCheck.js.map +1 -0
- package/dist/vehicle/drive.d.ts +66 -0
- package/dist/vehicle/drive.js +228 -0
- package/dist/vehicle/drive.js.map +1 -0
- package/dist/vehicle/enginePolicy.d.ts +68 -0
- package/dist/vehicle/enginePolicy.js +209 -0
- package/dist/vehicle/enginePolicy.js.map +1 -0
- package/dist/vehicle/hostFrame.d.ts +78 -0
- package/dist/vehicle/hostFrame.js +136 -0
- package/dist/vehicle/hostFrame.js.map +1 -0
- package/dist/vehicle/inspectionSheets.d.ts +42 -0
- package/dist/vehicle/inspectionSheets.js +173 -0
- package/dist/vehicle/inspectionSheets.js.map +1 -0
- package/dist/vehicle/keyboardLaunch.d.ts +189 -0
- package/dist/vehicle/keyboardLaunch.js +340 -0
- package/dist/vehicle/keyboardLaunch.js.map +1 -0
- package/dist/vehicle/lampCoverage.d.ts +49 -0
- package/dist/vehicle/lampCoverage.js +252 -0
- package/dist/vehicle/lampCoverage.js.map +1 -0
- package/dist/vehicle/mintAddOn.d.ts +110 -0
- package/dist/vehicle/mintAddOn.js +321 -0
- package/dist/vehicle/mintAddOn.js.map +1 -0
- package/dist/vehicle/mintVehicle.d.ts +189 -0
- package/dist/vehicle/mintVehicle.js +417 -0
- package/dist/vehicle/mintVehicle.js.map +1 -0
- package/dist/vehicle/paintHue.d.ts +89 -0
- package/dist/vehicle/paintHue.js +248 -0
- package/dist/vehicle/paintHue.js.map +1 -0
- package/dist/vehicle/panelCoverage.d.ts +37 -0
- package/dist/vehicle/panelCoverage.js +93 -0
- package/dist/vehicle/panelCoverage.js.map +1 -0
- package/dist/vehicle/platform.d.ts +71 -0
- package/dist/vehicle/platform.js +144 -0
- package/dist/vehicle/platform.js.map +1 -0
- package/dist/vehicle/preview.d.ts +339 -0
- package/dist/vehicle/preview.js +854 -0
- package/dist/vehicle/preview.js.map +1 -0
- package/dist/vehicle/previewAddon.d.ts +197 -0
- package/dist/vehicle/previewAddon.js +520 -0
- package/dist/vehicle/previewAddon.js.map +1 -0
- package/dist/vehicle/previewSeats.d.ts +102 -0
- package/dist/vehicle/previewSeats.js +190 -0
- package/dist/vehicle/previewSeats.js.map +1 -0
- package/dist/vehicle/publish.d.ts +78 -0
- package/dist/vehicle/publish.js +111 -0
- package/dist/vehicle/publish.js.map +1 -0
- package/dist/vehicle/recheckListed.d.ts +87 -0
- package/dist/vehicle/recheckListed.js +200 -0
- package/dist/vehicle/recheckListed.js.map +1 -0
- package/dist/vehicle/renditionManifest.d.ts +10 -0
- package/dist/vehicle/renditionManifest.js +56 -0
- package/dist/vehicle/renditionManifest.js.map +1 -0
- package/dist/vehicle/sealCheck.d.ts +30 -0
- package/dist/vehicle/sealCheck.js +59 -0
- package/dist/vehicle/sealCheck.js.map +1 -0
- package/dist/vehicle/simulate.d.ts +219 -0
- package/dist/vehicle/simulate.js +536 -0
- package/dist/vehicle/simulate.js.map +1 -0
- package/dist/vehicle/simulateRuntime.d.ts +76 -0
- package/dist/vehicle/simulateRuntime.js +252 -0
- package/dist/vehicle/simulateRuntime.js.map +1 -0
- package/dist/vehicle/testutil/sourcedAudio.d.ts +13 -0
- package/dist/vehicle/testutil/sourcedAudio.js +96 -0
- package/dist/vehicle/testutil/sourcedAudio.js.map +1 -0
- package/dist/vehicle/validate.d.ts +225 -0
- package/dist/vehicle/validate.js +956 -0
- package/dist/vehicle/validate.js.map +1 -0
- package/dist/vehicle/wheelDesign.d.ts +98 -0
- package/dist/vehicle/wheelDesign.js +276 -0
- package/dist/vehicle/wheelDesign.js.map +1 -0
- package/dist/verifySubPath.d.ts +69 -0
- package/dist/verifySubPath.js +458 -0
- package/dist/verifySubPath.js.map +1 -0
- package/dist/visualQa/animation.d.ts +57 -0
- package/dist/visualQa/animation.js +503 -0
- package/dist/visualQa/animation.js.map +1 -0
- package/dist/visualQa/avatar.d.ts +3 -0
- package/dist/visualQa/avatar.js +443 -0
- package/dist/visualQa/avatar.js.map +1 -0
- package/dist/visualQa/avatarMath.d.ts +180 -0
- package/dist/visualQa/avatarMath.js +318 -0
- package/dist/visualQa/avatarMath.js.map +1 -0
- package/dist/visualQa/avatarPreview.d.ts +26 -0
- package/dist/visualQa/avatarPreview.js +167 -0
- package/dist/visualQa/avatarPreview.js.map +1 -0
- package/dist/visualQa/avatarPreviewMath.d.ts +189 -0
- package/dist/visualQa/avatarPreviewMath.js +696 -0
- package/dist/visualQa/avatarPreviewMath.js.map +1 -0
- package/dist/visualQa/avatarPreviewProbe.d.ts +7 -0
- package/dist/visualQa/avatarPreviewProbe.js +181 -0
- package/dist/visualQa/avatarPreviewProbe.js.map +1 -0
- package/dist/visualQa/avatarProbe.d.ts +1 -0
- package/dist/visualQa/avatarProbe.js +264 -0
- package/dist/visualQa/avatarProbe.js.map +1 -0
- package/dist/visualQa/browser.d.ts +116 -0
- package/dist/visualQa/browser.js +817 -0
- package/dist/visualQa/browser.js.map +1 -0
- package/dist/visualQa/candidate.d.ts +116 -0
- package/dist/visualQa/candidate.js +265 -0
- package/dist/visualQa/candidate.js.map +1 -0
- package/dist/visualQa/checklists.d.ts +31 -0
- package/dist/visualQa/checklists.js +160 -0
- package/dist/visualQa/checklists.js.map +1 -0
- package/dist/visualQa/command.d.ts +110 -0
- package/dist/visualQa/command.js +521 -0
- package/dist/visualQa/command.js.map +1 -0
- package/dist/visualQa/commonAsserts.d.ts +68 -0
- package/dist/visualQa/commonAsserts.js +239 -0
- package/dist/visualQa/commonAsserts.js.map +1 -0
- package/dist/visualQa/contactSheet.d.ts +32 -0
- package/dist/visualQa/contactSheet.js +153 -0
- package/dist/visualQa/contactSheet.js.map +1 -0
- package/dist/visualQa/critic.d.ts +18 -0
- package/dist/visualQa/critic.js +179 -0
- package/dist/visualQa/critic.js.map +1 -0
- package/dist/visualQa/emotePage.d.ts +10 -0
- package/dist/visualQa/emotePage.js +249 -0
- package/dist/visualQa/emotePage.js.map +1 -0
- package/dist/visualQa/evidenceOverlay.d.ts +74 -0
- package/dist/visualQa/evidenceOverlay.js +268 -0
- package/dist/visualQa/evidenceOverlay.js.map +1 -0
- package/dist/visualQa/harness.d.ts +57 -0
- package/dist/visualQa/harness.js +3 -0
- package/dist/visualQa/harness.js.map +1 -0
- package/dist/visualQa/hosted.d.ts +152 -0
- package/dist/visualQa/hosted.js +367 -0
- package/dist/visualQa/hosted.js.map +1 -0
- package/dist/visualQa/labelLimit.d.ts +12 -0
- package/dist/visualQa/labelLimit.js +31 -0
- package/dist/visualQa/labelLimit.js.map +1 -0
- package/dist/visualQa/mirror.d.ts +36 -0
- package/dist/visualQa/mirror.js +98 -0
- package/dist/visualQa/mirror.js.map +1 -0
- package/dist/visualQa/moveUx.d.ts +44 -0
- package/dist/visualQa/moveUx.js +103 -0
- package/dist/visualQa/moveUx.js.map +1 -0
- package/dist/visualQa/pinnedChrome.d.ts +63 -0
- package/dist/visualQa/pinnedChrome.js +214 -0
- package/dist/visualQa/pinnedChrome.js.map +1 -0
- package/dist/visualQa/resolve.d.ts +88 -0
- package/dist/visualQa/resolve.js +248 -0
- package/dist/visualQa/resolve.js.map +1 -0
- package/dist/visualQa/scene.d.ts +14 -0
- package/dist/visualQa/scene.js +688 -0
- package/dist/visualQa/scene.js.map +1 -0
- package/dist/visualQa/shot.d.ts +2 -0
- package/dist/visualQa/shot.js +27 -0
- package/dist/visualQa/shot.js.map +1 -0
- package/dist/visualQa/signIn.d.ts +35 -0
- package/dist/visualQa/signIn.js +144 -0
- package/dist/visualQa/signIn.js.map +1 -0
- package/dist/visualQa/submitBudget.d.ts +25 -0
- package/dist/visualQa/submitBudget.js +82 -0
- package/dist/visualQa/submitBudget.js.map +1 -0
- package/dist/visualQa/types.d.ts +195 -0
- package/dist/visualQa/types.js +12 -0
- package/dist/visualQa/types.js.map +1 -0
- package/dist/visualQa/vehicle.d.ts +130 -0
- package/dist/visualQa/vehicle.js +2002 -0
- package/dist/visualQa/vehicle.js.map +1 -0
- package/dist/visualQa/vehicleAddonProbe.d.ts +1 -0
- package/dist/visualQa/vehicleAddonProbe.js +115 -0
- package/dist/visualQa/vehicleAddonProbe.js.map +1 -0
- package/dist/visualQa/vehicleCabinFit.d.ts +78 -0
- package/dist/visualQa/vehicleCabinFit.js +55 -0
- package/dist/visualQa/vehicleCabinFit.js.map +1 -0
- package/dist/visualQa/vehicleClearance.d.ts +135 -0
- package/dist/visualQa/vehicleClearance.js +299 -0
- package/dist/visualQa/vehicleClearance.js.map +1 -0
- package/dist/visualQa/vehicleDriveAlive.d.ts +55 -0
- package/dist/visualQa/vehicleDriveAlive.js +103 -0
- package/dist/visualQa/vehicleDriveAlive.js.map +1 -0
- package/dist/visualQa/vehicleGrip.d.ts +156 -0
- package/dist/visualQa/vehicleGrip.js +439 -0
- package/dist/visualQa/vehicleGrip.js.map +1 -0
- package/dist/visualQa/vehicleInspection.d.ts +70 -0
- package/dist/visualQa/vehicleInspection.js +318 -0
- package/dist/visualQa/vehicleInspection.js.map +1 -0
- package/dist/visualQa/vehicleLamps.d.ts +120 -0
- package/dist/visualQa/vehicleLamps.js +377 -0
- package/dist/visualQa/vehicleLamps.js.map +1 -0
- package/dist/visualQa/vehicleMath.d.ts +440 -0
- package/dist/visualQa/vehicleMath.js +967 -0
- package/dist/visualQa/vehicleMath.js.map +1 -0
- package/dist/visualQa/vehicleOccupants.d.ts +66 -0
- package/dist/visualQa/vehicleOccupants.js +448 -0
- package/dist/visualQa/vehicleOccupants.js.map +1 -0
- package/dist/visualQa/vehiclePenetration.d.ts +172 -0
- package/dist/visualQa/vehiclePenetration.js +1157 -0
- package/dist/visualQa/vehiclePenetration.js.map +1 -0
- package/dist/visualQa/vehiclePoses.d.ts +25 -0
- package/dist/visualQa/vehiclePoses.js +56 -0
- package/dist/visualQa/vehiclePoses.js.map +1 -0
- package/dist/visualQa/vehiclePosture.d.ts +78 -0
- package/dist/visualQa/vehiclePosture.js +263 -0
- package/dist/visualQa/vehiclePosture.js.map +1 -0
- package/dist/visualQa/vehiclePreview.d.ts +103 -0
- package/dist/visualQa/vehiclePreview.js +312 -0
- package/dist/visualQa/vehiclePreview.js.map +1 -0
- package/dist/visualQa/vehicleProbe.d.ts +3 -0
- package/dist/visualQa/vehicleProbe.js +670 -0
- package/dist/visualQa/vehicleProbe.js.map +1 -0
- package/dist/visualQa/vehicleStance.d.ts +108 -0
- package/dist/visualQa/vehicleStance.js +200 -0
- package/dist/visualQa/vehicleStance.js.map +1 -0
- package/dist/visualQa/viewer.d.ts +6 -0
- package/dist/visualQa/viewer.js +750 -0
- package/dist/visualQa/viewer.js.map +1 -0
- package/dist/visualQa/viewerGeometry.d.ts +116 -0
- package/dist/visualQa/viewerGeometry.js +476 -0
- package/dist/visualQa/viewerGeometry.js.map +1 -0
- package/dist/visualQa/viewerPage.d.ts +11 -0
- package/dist/visualQa/viewerPage.js +414 -0
- package/dist/visualQa/viewerPage.js.map +1 -0
- package/dist/visualQa/webgpuSelfTest.d.ts +52 -0
- package/dist/visualQa/webgpuSelfTest.js +113 -0
- package/dist/visualQa/webgpuSelfTest.js.map +1 -0
- package/dist/visualQa/winChrome.d.ts +92 -0
- package/dist/visualQa/winChrome.js +445 -0
- package/dist/visualQa/winChrome.js.map +1 -0
- package/dist/visualQa/worldWalk.d.ts +59 -0
- package/dist/visualQa/worldWalk.js +523 -0
- package/dist/visualQa/worldWalk.js.map +1 -0
- package/dist/visualQa/worldWalkMath.d.ts +263 -0
- package/dist/visualQa/worldWalkMath.js +873 -0
- package/dist/visualQa/worldWalkMath.js.map +1 -0
- package/dist/visualQa/worldWalkProbe.d.ts +1 -0
- package/dist/visualQa/worldWalkProbe.js +206 -0
- package/dist/visualQa/worldWalkProbe.js.map +1 -0
- package/dist/visualsConfig.d.ts +65 -0
- package/dist/visualsConfig.js +1333 -0
- package/dist/visualsConfig.js.map +1 -0
- package/dist/voiceCommand.d.ts +11 -0
- package/dist/voiceCommand.js +101 -0
- package/dist/voiceCommand.js.map +1 -0
- package/dist/world/analyze.d.ts +51 -0
- package/dist/world/analyze.js +767 -0
- package/dist/world/analyze.js.map +1 -0
- package/dist/world/baseline.d.ts +33 -0
- package/dist/world/baseline.js +111 -0
- package/dist/world/baseline.js.map +1 -0
- package/dist/world/canonicalize.d.ts +7 -0
- package/dist/world/canonicalize.js +110 -0
- package/dist/world/canonicalize.js.map +1 -0
- package/dist/world/diff.d.ts +18 -0
- package/dist/world/diff.js +58 -0
- package/dist/world/diff.js.map +1 -0
- package/dist/world/focus.d.ts +11 -0
- package/dist/world/focus.js +161 -0
- package/dist/world/focus.js.map +1 -0
- package/dist/world/format.d.ts +6 -0
- package/dist/world/format.js +125 -0
- package/dist/world/format.js.map +1 -0
- package/dist/world/readWorldMetrics.d.ts +10 -0
- package/dist/world/readWorldMetrics.js +31 -0
- package/dist/world/readWorldMetrics.js.map +1 -0
- package/dist/world/snapshotTypes.d.ts +59 -0
- package/dist/world/snapshotTypes.js +8 -0
- package/dist/world/snapshotTypes.js.map +1 -0
- package/dist/world/snapshotWorld.d.ts +16 -0
- package/dist/world/snapshotWorld.js +142 -0
- package/dist/world/snapshotWorld.js.map +1 -0
- package/dist/world/wiring.d.ts +21 -0
- package/dist/world/wiring.js +73 -0
- package/dist/world/wiring.js.map +1 -0
- package/dist/world/zones.d.ts +23 -0
- package/dist/world/zones.js +134 -0
- package/dist/world/zones.js.map +1 -0
- package/docs/bridge.md +304 -0
- package/docs/device-hand-reach.md +44 -0
- package/docs/scene-hlod.md +139 -0
- package/docs/vehicle-audio-import.md +299 -0
- package/docs/vehicle-simulate.md +165 -0
- package/docs/visual-qa-candidate-versions.md +71 -0
- package/docs/visual-qa.md +462 -0
- package/package.json +69 -4
- package/plugins/beamng-vehicle/README.md +129 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_abs.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_engine.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_expression.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_jbeam.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_materials.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_stock_events.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/fmod_studio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/fsb5.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_ac.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_beamng.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_fixtures.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/test_beamng_engine.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/test_sim_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/beamng-vehicle.mjs +1295 -0
- package/plugins/beamng-vehicle/bin/beamng_abs.py +408 -0
- package/plugins/beamng-vehicle/bin/beamng_audio.py +394 -0
- package/plugins/beamng-vehicle/bin/beamng_engine.py +184 -0
- package/plugins/beamng-vehicle/bin/beamng_expression.py +373 -0
- package/plugins/beamng-vehicle/bin/beamng_jbeam.py +858 -0
- package/plugins/beamng-vehicle/bin/beamng_materials.py +261 -0
- package/plugins/beamng-vehicle/bin/beamng_stock_events.py +171 -0
- package/plugins/beamng-vehicle/bin/convert-beamng.py +1563 -0
- package/plugins/beamng-vehicle/bin/fmod_studio.py +524 -0
- package/plugins/beamng-vehicle/bin/fsb5.py +304 -0
- package/plugins/beamng-vehicle/bin/index-beamng-common.mjs +16 -0
- package/plugins/beamng-vehicle/bin/index-beamng.py +69 -0
- package/plugins/beamng-vehicle/bin/lower-beamng.py +2399 -0
- package/plugins/beamng-vehicle/bin/sim_audio.py +250 -0
- package/plugins/beamng-vehicle/bin/sim_audio_ac.py +378 -0
- package/plugins/beamng-vehicle/bin/sim_audio_beamng.py +878 -0
- package/plugins/beamng-vehicle/bin/sim_audio_fixtures.py +287 -0
- package/plugins/beamng-vehicle/bin/sim_audio_import.py +135 -0
- package/plugins/beamng-vehicle/bin/test_beamng_engine.py +124 -0
- package/plugins/beamng-vehicle/bin/test_beamng_jbeam.py +383 -0
- package/plugins/beamng-vehicle/bin/test_beamng_precedence.py +134 -0
- package/plugins/beamng-vehicle/bin/test_sim_audio.py +249 -0
- package/plugins/beamng-vehicle/bridge-plugin.json +55 -0
- package/plugins/beamng-vehicle/controller-adapters/beamng-0.39.4-abs.json +52 -0
- package/plugins/beamng-vehicle/lib/common-dependency.mjs +357 -0
- package/plugins/beamng-vehicle/lib/dae-scan.mjs +40 -0
- package/plugins/beamng-vehicle/lib/file-identity.mjs +46 -0
- package/plugins/beamng-vehicle/lib/material-semantics.mjs +312 -0
- package/plugins/beamng-vehicle/lib/palette-contract.mjs +6 -0
- package/plugins/beamng-vehicle/lib/vehicle-qa.mjs +567 -0
- package/plugins/beamng-vehicle/lib/vehicle-source.mjs +247 -0
- package/plugins/beamng-vehicle/profiles/source-compatibility.json +14 -0
- package/plugins/beamng-vehicle/vendor/vehicle-package-v2.mjs +6451 -0
- package/vendor/README.md +63 -0
- package/vendor/ability-manifest.mjs +527 -6
- package/vendor/audits/asset-credits.mjs +96 -0
- package/vendor/audits/check-loaders.mjs +80 -0
- package/vendor/audits/perf-gate.mjs +759 -0
- package/vendor/audits/prove-live.mjs +307 -0
- package/vendor/audits/source-audit.mjs +530 -0
- package/vendor/audits/world-audit.mjs +439 -0
- package/vendor/capture-body.glb +0 -0
- package/vendor/capture-face.glb +0 -0
- package/vendor/installed-index.mjs +1 -1
- package/vendor/vehicle-package-v2.mjs +6451 -0
|
@@ -0,0 +1,670 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HIDE_OVERLAYS = exports.INSTALL_VEHICLE_PROBE = void 0;
|
|
4
|
+
// Page-side probe for the vehicle render route. Installed into the test-grounds world frame as `globalThis.__vqaVeh`.
|
|
5
|
+
// Plain JavaScript in a string so nothing the TypeScript compiler emits can leak into the page.
|
|
6
|
+
//
|
|
7
|
+
// What "drawn" means here: the runtime batches a car's static parts into `helix:vehicle-batch:*` BatchedMeshes
|
|
8
|
+
// (engine `vehicleBatchedDraw.ts`). Every original mesh stays in the graph with its real transform and a material
|
|
9
|
+
// clone set `visible = false`; the batch pulls its matrix every render. So a batched part IS drawn, at exactly the
|
|
10
|
+
// pose of its proxy mesh — and the batch's own geometry (all parts packed in their local frames) is never measured.
|
|
11
|
+
exports.INSTALL_VEHICLE_PROBE = `(() => {
|
|
12
|
+
const G = globalThis;
|
|
13
|
+
if (G.__vqaVeh) return true;
|
|
14
|
+
const HW = /(wheel|rim|tyre|tire|brake|caliper|disc|disk|rotor|hub|knuckle|upright|strut|spring|damper|shock|susp|axle|driveshaft|halfshaft|cv_?joint|control_?arm|wishbone|tie_?rod)/i;
|
|
15
|
+
const BODYISH = /(arch|well|liner|house|fender|guard|steer|tub|light|lamp|pedal|lever)/i;
|
|
16
|
+
const WHEELISH = /(^|[^a-z])(wheel|rim|tyre|tire)s?([^a-z]|$)/i;
|
|
17
|
+
const P = {};
|
|
18
|
+
P.mp = () => G.__assetGym.mp;
|
|
19
|
+
P.e = () => P.mp().portableVehicles.presentationRows()[0].entity;
|
|
20
|
+
P.root = () => P.e().object3d;
|
|
21
|
+
P.batches = () => { const out = []; P.root().traverse((o) => { if (o.isBatchedMesh && Array.isArray(o.instances)) out.push(o); }); return out; };
|
|
22
|
+
P.proxies = () => { const m = new Map(); for (const b of P.batches()) for (const inst of b.instances) m.set(inst.mesh, inst); return m; };
|
|
23
|
+
P.chainVisible = (o, root) => { for (let p = o; p; p = p.parent) { if (p.visible === false) return false; if (p === root) return true; } return true; };
|
|
24
|
+
P.drawn = (o, proxies, root) => {
|
|
25
|
+
if (!o.isMesh || o.isBatchedMesh || !o.geometry || !o.geometry.attributes || !o.geometry.attributes.position) return false;
|
|
26
|
+
if (!P.chainVisible(o, root)) return false;
|
|
27
|
+
const inst = proxies.get(o);
|
|
28
|
+
if (inst) return inst.visibleIntent !== false;
|
|
29
|
+
const ms = Array.isArray(o.material) ? o.material : [o.material];
|
|
30
|
+
return ms.some((m) => m && m.visible !== false && !(m.transparent && (m.opacity ?? 1) < 0.02) && m.colorWrite !== false);
|
|
31
|
+
};
|
|
32
|
+
P.inv = () => { const r = P.root(); r.updateMatrixWorld(true); return r.matrixWorld.clone().invert(); };
|
|
33
|
+
P.V = () => P.root().position.constructor;
|
|
34
|
+
P.Q = () => P.root().quaternion.constructor;
|
|
35
|
+
/** Index-referenced vertices of a mesh in BODY frame, appended flat to out. At most ~maxN unique vertices. With outBone
|
|
36
|
+
* (skinned meshes), the skeleton index of each vertex's largest skin weight is appended to it, in the same order. */
|
|
37
|
+
P.meshPoints = (o, inv, maxN, out, outBone) => {
|
|
38
|
+
const g = o.geometry, pos = g.attributes.position;
|
|
39
|
+
const M = inv.clone().multiply(o.matrixWorld); const e = M.elements;
|
|
40
|
+
const idx = g.index ? g.index.array : null;
|
|
41
|
+
const start = (g.drawRange && g.drawRange.start) || 0;
|
|
42
|
+
const total = idx ? idx.length : pos.count;
|
|
43
|
+
const count = Math.min(total - start, Number.isFinite(g.drawRange && g.drawRange.count) ? g.drawRange.count : total);
|
|
44
|
+
const seen = new Uint8Array(pos.count);
|
|
45
|
+
const step = Math.max(1, Math.ceil(pos.count / maxN));
|
|
46
|
+
const skinned = o.isSkinnedMesh && typeof o.getVertexPosition === 'function';
|
|
47
|
+
const tmp = skinned ? new (P.V())() : null;
|
|
48
|
+
const si = skinned && outBone ? g.attributes.skinIndex : null, sw = skinned && outBone ? g.attributes.skinWeight : null;
|
|
49
|
+
let k = 0;
|
|
50
|
+
for (let i = start; i < start + count; i++) {
|
|
51
|
+
const vi = idx ? idx[i] : i;
|
|
52
|
+
if (seen[vi]) continue; seen[vi] = 1;
|
|
53
|
+
if ((k++ % step) !== 0) continue;
|
|
54
|
+
let x, y, z;
|
|
55
|
+
if (skinned) { o.getVertexPosition(vi, tmp); x = tmp.x; y = tmp.y; z = tmp.z; } else { x = pos.getX(vi); y = pos.getY(vi); z = pos.getZ(vi); }
|
|
56
|
+
if (!Number.isFinite(x) || !Number.isFinite(y) || !Number.isFinite(z)) continue;
|
|
57
|
+
out.push(e[0] * x + e[4] * y + e[8] * z + e[12], e[1] * x + e[5] * y + e[9] * z + e[13], e[2] * x + e[6] * y + e[10] * z + e[14]);
|
|
58
|
+
if (outBone) {
|
|
59
|
+
let bi = -1, bw = -1;
|
|
60
|
+
if (si && sw) for (let c = 0; c < 4; c++) { const w = sw.getComponent(vi, c); if (w > bw) { bw = w; bi = si.getComponent(vi, c); } }
|
|
61
|
+
outBone.push(bi);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return out;
|
|
65
|
+
};
|
|
66
|
+
/** Triangles of a mesh (body frame) whose AABB comes within reach of any hub, appended flat (9 per triangle). */
|
|
67
|
+
P.meshTris = (o, inv, hubs, reach, out, outMesh, mi) => {
|
|
68
|
+
const g = o.geometry, pos = g.attributes.position;
|
|
69
|
+
const M = inv.clone().multiply(o.matrixWorld); const e = M.elements;
|
|
70
|
+
const idx = g.index ? g.index.array : null;
|
|
71
|
+
const start = (g.drawRange && g.drawRange.start) || 0;
|
|
72
|
+
const total = idx ? idx.length : pos.count;
|
|
73
|
+
const count = Math.min(total - start, Number.isFinite(g.drawRange && g.drawRange.count) ? g.drawRange.count : total);
|
|
74
|
+
const v = new Float64Array(9);
|
|
75
|
+
for (let i = start; i + 2 < start + count; i += 3) {
|
|
76
|
+
for (let k = 0; k < 3; k++) {
|
|
77
|
+
const vi = idx ? idx[i + k] : i + k;
|
|
78
|
+
const x = pos.getX(vi), y = pos.getY(vi), z = pos.getZ(vi);
|
|
79
|
+
v[3 * k] = e[0] * x + e[4] * y + e[8] * z + e[12]; v[3 * k + 1] = e[1] * x + e[5] * y + e[9] * z + e[13]; v[3 * k + 2] = e[2] * x + e[6] * y + e[10] * z + e[14];
|
|
80
|
+
}
|
|
81
|
+
let near = false;
|
|
82
|
+
for (const h of hubs) {
|
|
83
|
+
let ok = true;
|
|
84
|
+
for (let a = 0; a < 3 && ok; a++) { const lo = Math.min(v[a], v[3 + a], v[6 + a]), hi = Math.max(v[a], v[3 + a], v[6 + a]); if (hi < h[a] - reach || lo > h[a] + reach) ok = false; }
|
|
85
|
+
if (ok) { near = true; break; }
|
|
86
|
+
}
|
|
87
|
+
if (!near) continue;
|
|
88
|
+
for (let k = 0; k < 9; k++) out.push(Math.round(v[k] * 10000) / 10000);
|
|
89
|
+
outMesh.push(mi);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
P.bodyQuat = (o) => { const Q = P.Q(); const rq = P.root().getWorldQuaternion(new Q()).invert(); const q = rq.multiply(o.getWorldQuaternion(new Q())); return [q.x, q.y, q.z, q.w]; };
|
|
93
|
+
P.bodyPos = (o, inv) => { const p = o.getWorldPosition(new (P.V())()).applyMatrix4(inv || P.inv()); return [p.x, p.y, p.z]; };
|
|
94
|
+
P.wheelNode = (id, i) => { const ns = P.e().wheelNodes || []; return ns.find((n) => n.name === id) || ns[i] || null; };
|
|
95
|
+
P.contacts = () => ((P.e().controller.tuning && P.e().controller.tuning.contacts) || []).filter((k) => k.kind === 'wheel');
|
|
96
|
+
P.axleOf = (node) => { const V = P.V(); const q = P.bodyQuat(node); const Q = P.Q(); const a = new V(1, 0, 0).applyQuaternion(new Q(q[0], q[1], q[2], q[3])); return [a.x, a.y, a.z]; };
|
|
97
|
+
const R = (v) => Math.round(v * 10000) / 10000;
|
|
98
|
+
/** Everything the wheel/arch analysis needs, measured on the drawn geometry. */
|
|
99
|
+
P.pull = () => {
|
|
100
|
+
const e = P.e(), root = e.object3d, inv = P.inv(), proxies = P.proxies();
|
|
101
|
+
const st = e.controller.getState();
|
|
102
|
+
const contacts = P.contacts();
|
|
103
|
+
const underWheel = new Set();
|
|
104
|
+
for (const n of e.wheelNodes || []) n.traverse((o) => underWheel.add(o));
|
|
105
|
+
// the radius each wheel actually rolls on is its axle's v2 tyre (staggered cars differ per axle), else the contact's own:
|
|
106
|
+
// see vehicleClearance.wheelRollingRadius
|
|
107
|
+
const v2 = e.controller.tuning && e.controller.tuning.landV2;
|
|
108
|
+
const tyres = v2 && Array.isArray(v2.tyreByAxle) ? v2.tyreByAxle : null;
|
|
109
|
+
const wheels = contacts.map((k, i) => {
|
|
110
|
+
const node = P.wheelNode(k.id, i);
|
|
111
|
+
const axle = typeof k.axle === 'number' ? k.axle : null;
|
|
112
|
+
const fb = (st.wheels && st.wheels[i]) || {};
|
|
113
|
+
const meshes = [], pts = [];
|
|
114
|
+
if (node) node.traverse((o) => { if (P.drawn(o, proxies, root)) { meshes.push(o.name || (o.parent && o.parent.name) || '(unnamed)'); P.meshPoints(o, inv, 8000, pts); } });
|
|
115
|
+
return {
|
|
116
|
+
id: k.id, node: node ? node.name : null, mount: k.position, restLength: k.suspension ? k.suspension.restLength : null, travel: k.suspension ? k.suspension.travel : null,
|
|
117
|
+
radius: k.radius, axle, steered: k.steered, powered: k.powered, compression: fb.compression ?? null, grounded: fb.grounded ?? null,
|
|
118
|
+
steerAngleRad: fb.steerAngleRad ?? null, contactPoint: fb.contactPoint ? [fb.contactPoint.x, fb.contactPoint.y, fb.contactPoint.z] : null,
|
|
119
|
+
axleNode: node ? P.axleOf(node) : null, nodePos: node ? P.bodyPos(node, inv) : null,
|
|
120
|
+
meshes, points: pts.map(R),
|
|
121
|
+
};
|
|
122
|
+
});
|
|
123
|
+
const hubs = wheels.map((w) => w.nodePos).filter(Boolean);
|
|
124
|
+
const maxHubY = hubs.length ? Math.max(...hubs.map((h) => h[1])) : 0;
|
|
125
|
+
const names = [], bpts = [], bmesh = [], strays = [], excluded = [], tris = [], triMesh = [];
|
|
126
|
+
let bodyMeshes = 0, bodyVerts = 0;
|
|
127
|
+
root.traverse((o) => {
|
|
128
|
+
if (underWheel.has(o) || !P.drawn(o, proxies, root)) return;
|
|
129
|
+
const nm = o.name || (o.parent && o.parent.name) || '(unnamed)';
|
|
130
|
+
if (HW.test(nm) && !BODYISH.test(nm)) {
|
|
131
|
+
const local = []; P.meshPoints(o, inv, 2000, local);
|
|
132
|
+
let cx = 0, cy = 0, cz = 0; const n = local.length / 3;
|
|
133
|
+
for (let j = 0; j < local.length; j += 3) { cx += local[j]; cy += local[j + 1]; cz += local[j + 2]; }
|
|
134
|
+
const c = n ? [cx / n, cy / n, cz / n] : null;
|
|
135
|
+
if (WHEELISH.test(nm)) strays.push({ mesh: nm, centre: c && c.map(R) });
|
|
136
|
+
excluded.push(nm);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
const local = []; P.meshPoints(o, inv, 200000, local);
|
|
140
|
+
const mi = names.length; names.push(nm); bodyMeshes++;
|
|
141
|
+
P.meshTris(o, inv, hubs, 1.0, tris, triMesh, mi);
|
|
142
|
+
for (let j = 0; j < local.length; j += 3) {
|
|
143
|
+
const x = local[j], y = local[j + 1], z = local[j + 2];
|
|
144
|
+
bodyVerts++;
|
|
145
|
+
let keep = y < maxHubY;
|
|
146
|
+
if (!keep) for (const h of hubs) { if (Math.hypot(x - h[0], y - h[1], z - h[2]) < 1.0) { keep = true; break; } }
|
|
147
|
+
if (!keep) continue;
|
|
148
|
+
bpts.push(R(x), R(y), R(z)); bmesh.push(mi);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
return { wheels, tyreByAxle: tyres ? tyres.map((t) => ({ radius: t && typeof t.radius === 'number' ? t.radius : null })) : null, body: { names, points: bpts, mesh: bmesh }, bodyTris: { names, tris, mesh: triMesh }, strays, excludedHardware: [...new Set(excluded)].slice(0, 40), bodyMeshes, bodyVerts,
|
|
152
|
+
batches: P.batches().map((b) => ({ name: b.name, instances: b.instances.length })), proxies: proxies.size,
|
|
153
|
+
state: { speed: st.speed, forwardSpeed: st.forwardSpeed, grounded: st.grounded, position: [st.position.x, st.position.y, st.position.z] } };
|
|
154
|
+
};
|
|
155
|
+
/** Suspension compression per wheel, sampled every animation frame for ms (the car rocks for seconds after boarding). */
|
|
156
|
+
P.compressionWindow = (ms) => new Promise((resolve) => {
|
|
157
|
+
const e = P.e(); const out = P.contacts().map(() => []); const t0 = performance.now();
|
|
158
|
+
const tick = () => {
|
|
159
|
+
try { const st = e.controller.getState(); (st.wheels || []).forEach((w, i) => { if (out[i] && Number.isFinite(w.compression)) out[i].push(w.compression); }); } catch (err) { /* keep sampling */ }
|
|
160
|
+
if (performance.now() - t0 < ms) requestAnimationFrame(tick); else resolve(out);
|
|
161
|
+
};
|
|
162
|
+
requestAnimationFrame(tick);
|
|
163
|
+
});
|
|
164
|
+
/** Body-frame AABB of the drawn car (geometry bounding-box corners, so slightly generous). */
|
|
165
|
+
P.bounds = () => {
|
|
166
|
+
const root = P.root(), inv = P.inv(), proxies = P.proxies(), V = P.V();
|
|
167
|
+
const mn = [Infinity, Infinity, Infinity], mx = [-Infinity, -Infinity, -Infinity]; const c = new V();
|
|
168
|
+
root.traverse((o) => {
|
|
169
|
+
if (!P.drawn(o, proxies, root)) return;
|
|
170
|
+
if (!o.geometry.boundingBox) o.geometry.computeBoundingBox();
|
|
171
|
+
const b = o.geometry.boundingBox; if (!b) return;
|
|
172
|
+
const M = inv.clone().multiply(o.matrixWorld);
|
|
173
|
+
for (let i = 0; i < 8; i++) {
|
|
174
|
+
c.set(i & 1 ? b.max.x : b.min.x, i & 2 ? b.max.y : b.min.y, i & 4 ? b.max.z : b.min.z).applyMatrix4(M);
|
|
175
|
+
mn[0] = Math.min(mn[0], c.x); mn[1] = Math.min(mn[1], c.y); mn[2] = Math.min(mn[2], c.z);
|
|
176
|
+
mx[0] = Math.max(mx[0], c.x); mx[1] = Math.max(mx[1], c.y); mx[2] = Math.max(mx[2], c.z);
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
return { min: mn.map(R), max: mx.map(R) };
|
|
180
|
+
};
|
|
181
|
+
/** Body-frame AABB of named nodes' drawn meshes. */
|
|
182
|
+
P.nodeBox = (names) => {
|
|
183
|
+
const root = P.root(), inv = P.inv(), proxies = P.proxies();
|
|
184
|
+
const pts = [];
|
|
185
|
+
for (const n of names) { const o = root.getObjectByName(n); if (!o) continue; o.traverse((m) => { if (P.drawn(m, proxies, root)) P.meshPoints(m, inv, 3000, pts); }); }
|
|
186
|
+
if (!pts.length) return null;
|
|
187
|
+
const mn = [Infinity, Infinity, Infinity], mx = [-Infinity, -Infinity, -Infinity];
|
|
188
|
+
for (let j = 0; j < pts.length; j += 3) for (let a = 0; a < 3; a++) { mn[a] = Math.min(mn[a], pts[j + a]); mx[a] = Math.max(mx[a], pts[j + a]); }
|
|
189
|
+
return { min: mn.map(R), max: mx.map(R) };
|
|
190
|
+
};
|
|
191
|
+
P.pose = (names) => {
|
|
192
|
+
const root = P.root(), inv = P.inv(); const out = {};
|
|
193
|
+
for (const n of names) { const o = root.getObjectByName(n); out[n] = o ? { q: P.bodyQuat(o), p: P.bodyPos(o, inv) } : null; }
|
|
194
|
+
return out;
|
|
195
|
+
};
|
|
196
|
+
/** Pose of node b in node a's frame (rigidity check). */
|
|
197
|
+
P.rel = (a, b) => {
|
|
198
|
+
const root = P.root(); const A = root.getObjectByName(a), B = root.getObjectByName(b); if (!A || !B) return null;
|
|
199
|
+
root.updateMatrixWorld(true);
|
|
200
|
+
const V = P.V(), Q = P.Q();
|
|
201
|
+
const p = A.worldToLocal(B.getWorldPosition(new V()));
|
|
202
|
+
const rel = A.getWorldQuaternion(new Q()).invert().multiply(B.getWorldQuaternion(new Q()));
|
|
203
|
+
return { p: [p.x, p.y, p.z], q: [rel.x, rel.y, rel.z, rel.w] };
|
|
204
|
+
};
|
|
205
|
+
P.durable = () => { try { const v = P.mp().portableVehicleEvidence().vehicles[0]; return v ? (v.durableState || {}) : {}; } catch (err) { return {}; } };
|
|
206
|
+
P.steering = () => {
|
|
207
|
+
const e = P.e(), root = e.object3d; const st = e.controller.getState();
|
|
208
|
+
const rim = (e.interior && (e.interior.steeringRim || e.interior.steering)) || root.getObjectByName('steering_rim') || root.getObjectByName('steering');
|
|
209
|
+
const contacts = P.contacts();
|
|
210
|
+
return {
|
|
211
|
+
rimNode: rim ? rim.name : null, rimQ: rim ? P.bodyQuat(rim) : null, rimAngleRad: e.interior ? e.interior.rimAngleRad ?? null : null,
|
|
212
|
+
steerInput: e.controller.input ? e.controller.input.steer : null, stateSteerRad: st.steerAngleRad,
|
|
213
|
+
wheels: contacts.map((k, i) => { const n = P.wheelNode(k.id, i); return { id: k.id, steered: k.steered, axle: n ? P.axleOf(n) : null, physicsSteerRad: st.wheels && st.wheels[i] ? st.wheels[i].steerAngleRad : null }; }),
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Sample the drawn wheels' rotation about their own axle every animation frame for ms. With a room guard
|
|
218
|
+
* ({ origin: [x, z], dir: [x, z], limitM, decel }) sampling ends early as soon as the car, braking at decel from now, would
|
|
219
|
+
* pass limitM along dir from origin; it then resolves { samples, stoppedForRoom } so the caller brakes at once.
|
|
220
|
+
*/
|
|
221
|
+
P.sampleSpin = (ms, guard) => new Promise((resolve) => {
|
|
222
|
+
const e = P.e(), root = e.object3d, proxies = P.proxies(), V = P.V();
|
|
223
|
+
const contacts = P.contacts();
|
|
224
|
+
let stoppedForRoom = false;
|
|
225
|
+
const wheels = contacts.map((k, i) => {
|
|
226
|
+
const node = P.wheelNode(k.id, i); let mesh = null;
|
|
227
|
+
if (node) node.traverse((o) => { if (!mesh && P.drawn(o, proxies, root)) mesh = o; });
|
|
228
|
+
return { node, mesh: mesh || node };
|
|
229
|
+
});
|
|
230
|
+
const qOf = (o) => { const q = P.bodyQuat(o); return new (P.Q())(q[0], q[1], q[2], q[3]); };
|
|
231
|
+
// reference axis: the mesh-local axis most perpendicular to the axle, chosen once
|
|
232
|
+
const refs = wheels.map((w) => {
|
|
233
|
+
if (!w.mesh) return null;
|
|
234
|
+
const a = new V(...P.axleOf(w.node)); const q = qOf(w.mesh);
|
|
235
|
+
const cands = [new V(1, 0, 0), new V(0, 1, 0), new V(0, 0, 1)];
|
|
236
|
+
let best = 0, bd = Infinity; cands.forEach((c, j) => { const d = Math.abs(c.clone().applyQuaternion(q).dot(a)); if (d < bd) { bd = d; best = j; } });
|
|
237
|
+
return cands[best];
|
|
238
|
+
});
|
|
239
|
+
const samples = [];
|
|
240
|
+
const t0 = performance.now();
|
|
241
|
+
const tick = () => {
|
|
242
|
+
try {
|
|
243
|
+
const st = e.controller.getState(); const wp = root.getWorldPosition(new V());
|
|
244
|
+
const ang = wheels.map((w, i) => {
|
|
245
|
+
if (!w.mesh || !refs[i]) return NaN;
|
|
246
|
+
let a = new V(...P.axleOf(w.node)); if (a.x < 0) a = a.multiplyScalar(-1);
|
|
247
|
+
let up = new V(0, 1, 0).sub(a.clone().multiplyScalar(a.y)).normalize();
|
|
248
|
+
const r = refs[i].clone().applyQuaternion(qOf(w.mesh));
|
|
249
|
+
r.sub(a.clone().multiplyScalar(r.dot(a)));
|
|
250
|
+
return Math.atan2(up.clone().cross(r).dot(a), up.dot(r));
|
|
251
|
+
});
|
|
252
|
+
samples.push({ t: performance.now(), x: wp.x, z: wp.z, forwardSpeed: st.forwardSpeed, ang });
|
|
253
|
+
if (guard) {
|
|
254
|
+
const along = (wp.x - guard.origin[0]) * guard.dir[0] + (wp.z - guard.origin[1]) * guard.dir[1];
|
|
255
|
+
const v = Math.max(0, st.forwardSpeed);
|
|
256
|
+
if (along + v * 0.25 + (v * v) / (2 * guard.decel) >= guard.limitM) stoppedForRoom = true;
|
|
257
|
+
}
|
|
258
|
+
} catch (err) { /* keep sampling */ }
|
|
259
|
+
if (performance.now() - t0 < ms && !stoppedForRoom) requestAnimationFrame(tick); else resolve(guard ? { samples, stoppedForRoom } : samples);
|
|
260
|
+
};
|
|
261
|
+
requestAnimationFrame(tick);
|
|
262
|
+
});
|
|
263
|
+
/** Pin the render camera to a body-frame pose, re-applied every frame so the follow cam cannot fight it. */
|
|
264
|
+
/**
|
|
265
|
+
* Project body-frame points (flat xyz) through the live camera: NDC per point, and the canvas's client rect in this
|
|
266
|
+
* frame, so an annotation can be drawn over the captured image exactly where the geometry is.
|
|
267
|
+
*/
|
|
268
|
+
P.project = (flat) => {
|
|
269
|
+
const cam = P.camera(); const root = P.root(); if (!cam) return null;
|
|
270
|
+
root.updateMatrixWorld(true); cam.updateMatrixWorld(true);
|
|
271
|
+
if (cam.matrixWorldInverse) cam.matrixWorldInverse.copy(cam.matrixWorld).invert();
|
|
272
|
+
const V = P.V(); const v = new V(); const out = [];
|
|
273
|
+
for (let i = 0; i < flat.length; i += 3) { v.set(flat[i], flat[i + 1], flat[i + 2]).applyMatrix4(root.matrixWorld).project(cam); out.push(v.x, v.y, v.z); }
|
|
274
|
+
let best = null, area = 0;
|
|
275
|
+
for (const c of document.querySelectorAll('canvas')) { const r = c.getBoundingClientRect(); if (r.width * r.height > area) { area = r.width * r.height; best = r; } }
|
|
276
|
+
return { ndc: out, rect: best ? { left: best.left, top: best.top, width: best.width, height: best.height } : null };
|
|
277
|
+
};
|
|
278
|
+
P.camera = () => { try { return P.mp().local.services.camera.camera; } catch (err) { return G.__vqa && G.__vqa.main; } };
|
|
279
|
+
P.setCam = (c) => {
|
|
280
|
+
const cam = P.camera(); if (!cam) return false;
|
|
281
|
+
if (!cam.__vqaPinned) {
|
|
282
|
+
const orig = cam.updateMatrixWorld.bind(cam);
|
|
283
|
+
cam.updateMatrixWorld = function (force) {
|
|
284
|
+
const o = G.__vqaCam;
|
|
285
|
+
if (o) {
|
|
286
|
+
const r = P.root(); const V = P.V();
|
|
287
|
+
this.position.copy(r.localToWorld(new V(...o.pos)));
|
|
288
|
+
this.up.set(0, 1, 0);
|
|
289
|
+
this.lookAt(r.localToWorld(new V(...o.target)));
|
|
290
|
+
if (o.fov && this.fov !== o.fov) { this.fov = o.fov; this.updateProjectionMatrix(); }
|
|
291
|
+
if (o.near && this.near !== o.near) { this.near = o.near; this.updateProjectionMatrix(); }
|
|
292
|
+
}
|
|
293
|
+
return orig(force);
|
|
294
|
+
};
|
|
295
|
+
cam.__vqaPinned = { fov: cam.fov, near: cam.near };
|
|
296
|
+
}
|
|
297
|
+
G.__vqaCam = c; return true;
|
|
298
|
+
};
|
|
299
|
+
P.clearCam = () => { G.__vqaCam = null; const cam = P.camera(); if (cam && cam.__vqaPinned) { cam.fov = cam.__vqaPinned.fov; cam.near = cam.__vqaPinned.near; cam.updateProjectionMatrix(); } return true; };
|
|
300
|
+
/** Scene stats over the drawn car: batched proxies get their real material back for the (synchronous) count. */
|
|
301
|
+
P.stats = () => {
|
|
302
|
+
const swapped = [];
|
|
303
|
+
for (const b of P.batches()) for (const inst of b.instances) { if (inst.mesh.material === inst.hiddenMaterial && inst.originalMaterial) { swapped.push(inst); inst.mesh.material = inst.originalMaterial; } }
|
|
304
|
+
try { return G.__vqaStats(P.root(), { exclude: (o) => !!o.isBatchedMesh }); }
|
|
305
|
+
finally { for (const inst of swapped) inst.mesh.material = inst.hiddenMaterial; }
|
|
306
|
+
};
|
|
307
|
+
// ---------------------------------------------------------------------------------------------------- seated occupant
|
|
308
|
+
P.isUnder = (o, anc) => { for (let p = o; p; p = p.parent) if (p === anc) return true; return false; };
|
|
309
|
+
/** Triangles (body frame, 9 per triangle) of one mesh whose AABB overlaps the box, appended flat. */
|
|
310
|
+
P.meshTrisInBox = (o, inv, box, out, outMesh, mi) => {
|
|
311
|
+
const g = o.geometry, pos = g.attributes.position;
|
|
312
|
+
const M = inv.clone().multiply(o.matrixWorld); const e = M.elements;
|
|
313
|
+
const idx = g.index ? g.index.array : null;
|
|
314
|
+
const start = (g.drawRange && g.drawRange.start) || 0;
|
|
315
|
+
const total = idx ? idx.length : pos.count;
|
|
316
|
+
const count = Math.min(total - start, Number.isFinite(g.drawRange && g.drawRange.count) ? g.drawRange.count : total);
|
|
317
|
+
const v = new Float64Array(9);
|
|
318
|
+
// a mirrored node (negative determinant) flips the winding: swap two corners so the triangle's normal stays outward
|
|
319
|
+
const det = e[0] * (e[5] * e[10] - e[6] * e[9]) - e[4] * (e[1] * e[10] - e[2] * e[9]) + e[8] * (e[1] * e[6] - e[2] * e[5]);
|
|
320
|
+
const order = det < 0 ? [0, 2, 1] : [0, 1, 2];
|
|
321
|
+
for (let i = start; i + 2 < start + count; i += 3) {
|
|
322
|
+
for (let k = 0; k < 3; k++) {
|
|
323
|
+
const vi = idx ? idx[i + order[k]] : i + order[k];
|
|
324
|
+
const x = pos.getX(vi), y = pos.getY(vi), z = pos.getZ(vi);
|
|
325
|
+
v[3 * k] = e[0] * x + e[4] * y + e[8] * z + e[12]; v[3 * k + 1] = e[1] * x + e[5] * y + e[9] * z + e[13]; v[3 * k + 2] = e[2] * x + e[6] * y + e[10] * z + e[14];
|
|
326
|
+
}
|
|
327
|
+
let ok = true;
|
|
328
|
+
for (let a = 0; a < 3 && ok; a++) { const lo = Math.min(v[a], v[3 + a], v[6 + a]), hi = Math.max(v[a], v[3 + a], v[6 + a]); if (hi < box.min[a] || lo > box.max[a]) ok = false; }
|
|
329
|
+
if (!ok) continue;
|
|
330
|
+
for (let k = 0; k < 9; k++) out.push(Math.round(v[k] * 10000) / 10000);
|
|
331
|
+
outMesh.push(mi);
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* The LOCAL occupant: every bone (body frame) and the vertices of every drawn skinned mesh on it (body, hair, hats...),
|
|
336
|
+
* the steering wheel's vertices, and the car's own drawn triangles in a box around the pelvis. The car's triangles never
|
|
337
|
+
* include the occupant (skinned meshes, anything under the character model) or the wheels.
|
|
338
|
+
*/
|
|
339
|
+
P.occupantPull = () => {
|
|
340
|
+
const mp = P.mp(); const local = mp.local; const model = local && local.model; if (!model) return null;
|
|
341
|
+
const e = P.e(), root = e.object3d, inv = P.inv(), proxies = P.proxies();
|
|
342
|
+
root.updateMatrixWorld(true); model.updateMatrixWorld(true);
|
|
343
|
+
const bones = {}; const boneParents = {}; const skinned = [];
|
|
344
|
+
model.traverse((o) => { if (o.isBone) { const p = P.bodyPos(o, inv); bones[o.name] = p.map(R); boneParents[o.name] = o.parent && o.parent.isBone ? o.parent.name : null; } if (o.isSkinnedMesh && P.chainVisible(o, model)) skinned.push(o); });
|
|
345
|
+
const points = []; const pointBone = []; const boneNames = Object.keys(bones); const boneIx = new Map(boneNames.map((n, i) => [n, i]));
|
|
346
|
+
for (const m of skinned) {
|
|
347
|
+
const tmp = []; const tb = [];
|
|
348
|
+
P.meshPoints(m, inv, 30000, tmp, tb);
|
|
349
|
+
for (let i = 0; i < tmp.length; i++) points.push(R(tmp[i]));
|
|
350
|
+
// the bone with the largest skin weight per vertex (vehiclePenetration measures each vertex against its own bone)
|
|
351
|
+
const sb = (m.skeleton && m.skeleton.bones) || [];
|
|
352
|
+
for (let i = 0; i < tb.length; i++) { const b = sb[tb[i]]; const k = b ? boneIx.get(b.name) : undefined; pointBone.push(k === undefined ? -1 : k); }
|
|
353
|
+
}
|
|
354
|
+
const pel = bones.pelvis || bones.hips || Object.values(bones)[0];
|
|
355
|
+
const box = { min: [pel[0] - 0.8, pel[1] - 0.9, pel[2] - 0.95], max: [pel[0] + 0.8, pel[1] + 1.1, pel[2] + 0.95] };
|
|
356
|
+
const underWheel = new Set(); for (const n of e.wheelNodes || []) n.traverse((o) => underWheel.add(o));
|
|
357
|
+
const names = [], tris = [], mesh = [], meshInfo = [];
|
|
358
|
+
root.traverse((o) => {
|
|
359
|
+
if (underWheel.has(o) || o.isSkinnedMesh || !P.drawn(o, proxies, root) || P.isUnder(o, model)) return;
|
|
360
|
+
const mi = names.length; names.push(o.name || (o.parent && o.parent.name) || '(unnamed)');
|
|
361
|
+
const before = tris.length;
|
|
362
|
+
P.meshTrisInBox(o, inv, box, tris, mesh, mi);
|
|
363
|
+
if (tris.length > before) {
|
|
364
|
+
const inst = proxies.get(o); const m0 = (inst && inst.originalMaterial) || (Array.isArray(o.material) ? o.material[0] : o.material);
|
|
365
|
+
meshInfo.push({ name: names[mi], batched: !!inst, color: m0 && m0.color ? m0.color.getHexString() : null, opacity: m0 ? m0.opacity : null, transparent: m0 ? !!m0.transparent : null, side: m0 ? m0.side : null, colorWrite: m0 ? m0.colorWrite : null, tris: (tris.length - before) / 9 });
|
|
366
|
+
}
|
|
367
|
+
});
|
|
368
|
+
let rim = null;
|
|
369
|
+
const rimNode = (e.interior && (e.interior.steeringRim || e.interior.steering)) || root.getObjectByName('steering_rim') || root.getObjectByName('steering');
|
|
370
|
+
if (rimNode) { const pts = []; rimNode.traverse((m) => { if (m.isMesh && !m.isSkinnedMesh && m.geometry && m.geometry.attributes && m.geometry.attributes.position) P.meshPoints(m, inv, 3000, pts); }); rim = pts.map(R); }
|
|
371
|
+
let residual = null; try { const l = mp.seatEvidence && mp.seatEvidence().local; residual = l && l.seated ? l.seated.seatResidualM : null; } catch (err) { /* keep null */ }
|
|
372
|
+
return { bones, boneParents, boneNames, points, pointBone, rim, cabin: { tris, mesh, names }, seatResidualM: residual, skinned: skinned.map((m) => m.name || '(unnamed)'), meshInfo, rimNode: rimNode ? rimNode.name : null };
|
|
373
|
+
};
|
|
374
|
+
/** Body-frame position of a seat: its named node when the model has one, else the cabin's own H-point. */
|
|
375
|
+
P.seatPos = (id) => {
|
|
376
|
+
const root = P.root(); root.updateMatrixWorld(true); let o = null;
|
|
377
|
+
root.traverse((x) => { if (!o && x.name === id && !x.isMesh) o = x; });
|
|
378
|
+
if (o) return P.bodyPos(o);
|
|
379
|
+
try { const s = P.e().interior.cabin.seats.find((x) => x.id === id); return s ? [s.hipPoint[0], s.hipPoint[1], s.hipPoint[2]] : null; } catch (err) { return null; }
|
|
380
|
+
};
|
|
381
|
+
/** Hide (or restore) named nodes, for a labelled cutaway frame. The vehicle batch reads visibility as the AND of the ancestors up to the root. */
|
|
382
|
+
/**
|
|
383
|
+
* Evidence cutaway: hide every drawn mesh of the car except those named (by the same name the occupant pull records),
|
|
384
|
+
* so only the occupant and the surface it clashes with are drawn. P.unisolate() puts every flag back exactly.
|
|
385
|
+
*/
|
|
386
|
+
P.isolate = (keep) => {
|
|
387
|
+
P.unisolate();
|
|
388
|
+
const mp = P.mp(); const model = mp.local && mp.local.model; const root = P.root(); const proxies = P.proxies();
|
|
389
|
+
const ks = new Set(keep || []); const hidden = [];
|
|
390
|
+
root.traverse((o) => {
|
|
391
|
+
if (!o.isMesh || (model && P.isUnder(o, model)) || !P.drawn(o, proxies, root)) return;
|
|
392
|
+
const nm = o.name || (o.parent && o.parent.name) || '(unnamed)';
|
|
393
|
+
if (ks.has(nm)) return;
|
|
394
|
+
hidden.push([o, o.visible]); o.visible = false;
|
|
395
|
+
});
|
|
396
|
+
P.__isolated = hidden; return hidden.length;
|
|
397
|
+
};
|
|
398
|
+
P.unisolate = () => { const h = P.__isolated || []; for (const [o, v] of h) o.visible = v; P.__isolated = null; return h.length; };
|
|
399
|
+
P.setHidden = (names, hidden) => { const root = P.root(); let n = 0; for (const nm of names) { const o = root.getObjectByName(nm); if (o) { o.visible = !hidden; n++; } } return n; };
|
|
400
|
+
/** The engine's own cabin-fit self-report (what it BELIEVES the occupant fit is), for comparison with what is drawn. */
|
|
401
|
+
// ---------------------------------------------------------------------------------------------------- scenery
|
|
402
|
+
/** The local player's character model (hidden for the appearance poses, never for an occupant frame). */
|
|
403
|
+
P.avatar = () => { try { return P.mp().local.model || null; } catch (err) { return null; } };
|
|
404
|
+
P.sceneRoot = () => { let s = P.root(); while (s.parent) s = s.parent; return s; };
|
|
405
|
+
/** Is o part of the car or of a character (the local one, or anyone skinned)? Those are never scenery. */
|
|
406
|
+
P.notScenery = (o, root, avatar) => P.isUnder(o, root) || (avatar && P.isUnder(o, avatar)) || o.isSkinnedMesh;
|
|
407
|
+
/**
|
|
408
|
+
* WORLD-frame boxes of every visible scenery mesh within radius of the car (the walls, kerbs and props of the test
|
|
409
|
+
* grounds), plus the car's body->world matrix, so the clearance and occlusion maths can run outside the page.
|
|
410
|
+
*/
|
|
411
|
+
P.sceneBoxes = (radius) => {
|
|
412
|
+
const root = P.root(), scene = P.sceneRoot(), avatar = P.avatar(), V = P.V();
|
|
413
|
+
root.updateMatrixWorld(true);
|
|
414
|
+
const at = root.getWorldPosition(new V()); const out = []; const c = new V();
|
|
415
|
+
scene.traverse((o) => {
|
|
416
|
+
if (!o.isMesh || !o.geometry || !o.geometry.attributes || !o.geometry.attributes.position) return;
|
|
417
|
+
if (P.notScenery(o, root, avatar)) return;
|
|
418
|
+
for (let p = o; p; p = p.parent) if (p.visible === false) return;
|
|
419
|
+
// effects (particles, glows, soft quads) write no depth and stop nothing: not scenery
|
|
420
|
+
const ms = Array.isArray(o.material) ? o.material : [o.material];
|
|
421
|
+
if (ms.every((m) => !m || m.depthWrite === false || m.visible === false || (m.transparent && (m.opacity ?? 1) < 0.35))) return;
|
|
422
|
+
if (!o.geometry.boundingBox) o.geometry.computeBoundingBox();
|
|
423
|
+
const b = o.geometry.boundingBox; if (!b || b.isEmpty()) return;
|
|
424
|
+
const mn = [Infinity, Infinity, Infinity], mx = [-Infinity, -Infinity, -Infinity];
|
|
425
|
+
for (let i = 0; i < 8; i++) {
|
|
426
|
+
c.set(i & 1 ? b.max.x : b.min.x, i & 2 ? b.max.y : b.min.y, i & 4 ? b.max.z : b.min.z).applyMatrix4(o.matrixWorld);
|
|
427
|
+
mn[0] = Math.min(mn[0], c.x); mn[1] = Math.min(mn[1], c.y); mn[2] = Math.min(mn[2], c.z);
|
|
428
|
+
mx[0] = Math.max(mx[0], c.x); mx[1] = Math.max(mx[1], c.y); mx[2] = Math.max(mx[2], c.z);
|
|
429
|
+
}
|
|
430
|
+
const dx = Math.max(mn[0] - at.x, 0, at.x - mx[0]), dz = Math.max(mn[2] - at.z, 0, at.z - mx[2]);
|
|
431
|
+
if (Math.hypot(dx, dz) > (radius || 60)) return;
|
|
432
|
+
out.push({ id: o.uuid, name: o.name || (o.parent && o.parent.name) || '(unnamed)', min: mn.map(R), max: mx.map(R) });
|
|
433
|
+
});
|
|
434
|
+
return { boxes: out, bodyToWorld: Array.from(root.matrixWorld.elements) };
|
|
435
|
+
};
|
|
436
|
+
/** Hide (true) or restore (false) scenery meshes by uuid, for one frame; restore puts back exactly what was changed. */
|
|
437
|
+
P.hideScenery = (ids, on) => {
|
|
438
|
+
if (!on) { const h = P.__sceneHidden || []; for (const [o, v] of h) o.visible = v; P.__sceneHidden = null; return h.length; }
|
|
439
|
+
const want = new Set(ids || []); const h = P.__sceneHidden || []; const scene = P.sceneRoot();
|
|
440
|
+
scene.traverse((o) => { if (want.has(o.uuid) && o.visible !== false) { h.push([o, o.visible]); o.visible = false; } });
|
|
441
|
+
P.__sceneHidden = h; return h.length;
|
|
442
|
+
};
|
|
443
|
+
/**
|
|
444
|
+
* Appearance poses: everything but the car is hidden (scenery AND the player's own avatar) over a plain neutral
|
|
445
|
+
* backdrop, lit by the world's own lights/environment. P.backdrop(false) puts every flag and the background back.
|
|
446
|
+
*/
|
|
447
|
+
/**
|
|
448
|
+
* Appearance poses: every lamp OFF and no local light, so nothing blooms over the nose (F40 round 1: a white blob over
|
|
449
|
+
* pose.front and pose.top; measured, it was the test grounds' stage point lights on glossy paint, not the lamps).
|
|
450
|
+
* Zeroes the emissive of every material the car draws with (its batch materials and each batched part's own material
|
|
451
|
+
* too), hides additive-blended coronas under the car, and zeroes every spot/point/area light in the scene (the
|
|
452
|
+
* runtime's headlamp beams and the world's practical lamps); the sun/sky and the environment stay. The engine never
|
|
453
|
+
* rewrites emissive per frame, so this holds for the frames. P.lightsOff(false) restores every value exactly.
|
|
454
|
+
*/
|
|
455
|
+
P.lightsOff = (on) => {
|
|
456
|
+
if (!on) {
|
|
457
|
+
const st = P.__lightsOff; if (!st) return null;
|
|
458
|
+
for (const [m, i, c] of st.mats) { m.emissiveIntensity = i; if (c && m.emissive) m.emissive.copy(c); m.needsUpdate = true; }
|
|
459
|
+
for (const [o, v] of st.hidden) o.visible = v;
|
|
460
|
+
for (const [l, i] of st.lights) l.intensity = i;
|
|
461
|
+
P.__lightsOff = null; return { materials: st.mats.length, coronas: st.hidden.length, lights: st.lights.length };
|
|
462
|
+
}
|
|
463
|
+
if (P.__lightsOff) return null;
|
|
464
|
+
const root = P.root(), scene = P.sceneRoot(), V = P.V();
|
|
465
|
+
const mats = [], hidden = [], lights = []; const seen = new Set();
|
|
466
|
+
const take = (m) => {
|
|
467
|
+
if (!m || seen.has(m)) return; seen.add(m);
|
|
468
|
+
if (typeof m.emissiveIntensity !== 'number' && !m.emissive) return;
|
|
469
|
+
const black = m.emissive ? m.emissive.clone() : null;
|
|
470
|
+
mats.push([m, m.emissiveIntensity, black]);
|
|
471
|
+
if (typeof m.emissiveIntensity === 'number') m.emissiveIntensity = 0;
|
|
472
|
+
if (m.emissive) m.emissive.setRGB(0, 0, 0);
|
|
473
|
+
m.needsUpdate = true;
|
|
474
|
+
};
|
|
475
|
+
const proxies = P.proxies();
|
|
476
|
+
root.traverse((o) => {
|
|
477
|
+
const ms = o.material ? (Array.isArray(o.material) ? o.material : [o.material]) : [];
|
|
478
|
+
for (const m of ms) take(m);
|
|
479
|
+
const inst = proxies.get(o); if (inst) { take(inst.originalMaterial); take(inst.hiddenMaterial); }
|
|
480
|
+
if ((o.isMesh || o.isPoints || o.isSprite) && o.visible !== false && ms.some((m) => m && m.blending === 2)) { hidden.push([o, o.visible]); o.visible = false; }
|
|
481
|
+
});
|
|
482
|
+
// every LOCAL light off too (spot and point: the car's beams, and the world's own practical lamps; the test grounds'
|
|
483
|
+
// stage lights put a white hotspot on a glossy nose): the poses are lit by the sun/sky and the environment only
|
|
484
|
+
scene.traverse((o) => {
|
|
485
|
+
if (!(o.isSpotLight || o.isPointLight || o.isRectAreaLight) || !(o.intensity > 0)) return;
|
|
486
|
+
lights.push([o, o.intensity]); o.intensity = 0;
|
|
487
|
+
});
|
|
488
|
+
P.__lightsOff = { mats, hidden, lights };
|
|
489
|
+
return { materials: mats.length, coronas: hidden.length, lights: lights.length };
|
|
490
|
+
};
|
|
491
|
+
P.backdrop = (on, hex) => {
|
|
492
|
+
const scene = P.sceneRoot();
|
|
493
|
+
if (!on) {
|
|
494
|
+
const st = P.__backdrop; if (!st) return 0;
|
|
495
|
+
for (const [o, v] of st.hidden) o.visible = v;
|
|
496
|
+
scene.background = st.background; P.__backdrop = null; return st.hidden.length;
|
|
497
|
+
}
|
|
498
|
+
if (P.__backdrop) return P.__backdrop.hidden.length;
|
|
499
|
+
const root = P.root(), avatar = P.avatar(); const hidden = [];
|
|
500
|
+
scene.traverse((o) => {
|
|
501
|
+
if (!(o.isMesh || o.isSprite || o.isPoints || o.isLine) || o.visible === false) return;
|
|
502
|
+
if (P.isUnder(o, root) && !(avatar && P.isUnder(o, avatar))) return;
|
|
503
|
+
hidden.push([o, o.visible]); o.visible = false;
|
|
504
|
+
});
|
|
505
|
+
if (avatar && avatar.visible !== false) { hidden.push([avatar, avatar.visible]); avatar.visible = false; }
|
|
506
|
+
const st = { hidden, background: scene.background };
|
|
507
|
+
let Color = null;
|
|
508
|
+
root.traverse((o) => { if (!Color && o.material && !Array.isArray(o.material) && o.material.color) Color = o.material.color.constructor; });
|
|
509
|
+
if (Color) scene.background = new Color(hex || 0x8c8f94);
|
|
510
|
+
P.__backdrop = st; return hidden.length;
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* Daylight paint sample: with the backdrop already on (every non-car mesh hidden over a flat key colour), hide every
|
|
514
|
+
* drawn car mesh whose material is not body paint, so the only pixels left that are not the key colour are paint. The
|
|
515
|
+
* world's lights and the lamps are NOT touched: this is the paint exactly as the Try Now frame lights it, hotspots
|
|
516
|
+
* and all (the appearance poses turn the local lights off, which is why they never showed the bonnet glare).
|
|
517
|
+
* A body-paint mesh is one whose material name carries "paint" (the <node>__vehicle-paint-solid|metallic family
|
|
518
|
+
* suffix). Batched parts follow their proxy mesh's visible flag on the next sync. P.paintOnly(false) restores.
|
|
519
|
+
* Returns the paint materials as the runtime really draws them (colour, roughness, clearcoat...).
|
|
520
|
+
*/
|
|
521
|
+
/** The lighting rig the frame is drawn with: scene environment/background/fog, every light, and what the gym exposes of the renderer. */
|
|
522
|
+
P.lighting = () => {
|
|
523
|
+
const scene = P.sceneRoot(), out = { background: null, environment: !!scene.environment, environmentIntensity: scene.environmentIntensity ?? null, backgroundIntensity: scene.backgroundIntensity ?? null, fog: scene.fog ? scene.fog.type || scene.fog.constructor.name : null, lights: [], gym: Object.keys(G.__assetGym || {}).slice(0, 40), renderer: null };
|
|
524
|
+
const bg = scene.background; out.background = bg ? (bg.isColor ? '#' + bg.getHexString() : (bg.constructor && bg.constructor.name)) : null;
|
|
525
|
+
scene.traverse((o) => { if (o.isLight) out.lights.push({ type: o.type, name: o.name || null, intensity: o.intensity, color: o.color ? '#' + o.color.getHexString() : null, visible: o.visible }); });
|
|
526
|
+
const r = (G.__assetGym && (G.__assetGym.renderer || (G.__assetGym.mp && G.__assetGym.mp.renderer))) || G.__vqaRenderer || null;
|
|
527
|
+
if (r) out.renderer = { toneMapping: r.toneMapping, exposure: r.toneMappingExposure, outputColorSpace: r.outputColorSpace, type: r.constructor && r.constructor.name };
|
|
528
|
+
return out;
|
|
529
|
+
};
|
|
530
|
+
/** With paintOnly on: show (true) or hide (false) the paint meshes too, for the empty-scene reference frame the mask is taken against. */
|
|
531
|
+
P.paintShow = (v) => { for (const o of P.__paintMeshes || []) o.visible = v; return (P.__paintMeshes || []).length; };
|
|
532
|
+
P.paintOnly = (on) => {
|
|
533
|
+
if (!on) { const h = P.__paintHidden || []; for (const [o, v] of h) o.visible = v; for (const o of P.__paintMeshes || []) o.visible = true; P.__paintHidden = null; P.__paintMeshes = null; return h.length; }
|
|
534
|
+
if (P.__paintHidden) return null;
|
|
535
|
+
const root = P.root(), proxies = P.proxies(); const hidden = []; const mats = new Map(); const paintMeshes = [];
|
|
536
|
+
const avatar = P.avatar();
|
|
537
|
+
root.traverse((o) => {
|
|
538
|
+
if (!o.isMesh || o.isBatchedMesh || (avatar && P.isUnder(o, avatar))) return;
|
|
539
|
+
const inst = proxies.get(o);
|
|
540
|
+
const src = inst ? inst.originalMaterial : o.material;
|
|
541
|
+
const ms = (Array.isArray(src) ? src : [src]).filter(Boolean);
|
|
542
|
+
const paint = ms.filter((m) => /paint/i.test(m.name || ''));
|
|
543
|
+
if (paint.length) { for (const m of paint) if (!mats.has(m)) mats.set(m, 0); paintMeshes.push(o); return; }
|
|
544
|
+
if (o.visible !== false) { hidden.push([o, o.visible]); o.visible = false; }
|
|
545
|
+
});
|
|
546
|
+
P.__paintHidden = hidden; P.__paintMeshes = paintMeshes;
|
|
547
|
+
const hex = (c) => c && c.isColor ? '#' + c.getHexString() : null;
|
|
548
|
+
const R3 = (v) => typeof v === 'number' ? Math.round(v * 1000) / 1000 : null;
|
|
549
|
+
return [...mats.keys()].map((m) => ({
|
|
550
|
+
name: m.name, type: m.type, baseColorLinear: m.color ? [R3(m.color.r), R3(m.color.g), R3(m.color.b)] : null, baseColorHex: hex(m.color),
|
|
551
|
+
metalness: R3(m.metalness), roughness: R3(m.roughness), clearcoat: R3(m.clearcoat), clearcoatRoughness: R3(m.clearcoatRoughness),
|
|
552
|
+
ior: R3(m.ior), specularIntensity: R3(m.specularIntensity), envMapIntensity: R3(m.envMapIntensity), emissive: hex(m.emissive), emissiveIntensity: R3(m.emissiveIntensity),
|
|
553
|
+
hasMap: !!m.map,
|
|
554
|
+
}));
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* Seat placement as authored vs as the runtime seats it: the seat's own GLB node (the authored H-point, body frame)
|
|
558
|
+
* and the cabin seat the occupant is posed on after the runtime's cabin fit.
|
|
559
|
+
*/
|
|
560
|
+
P.seatFit = (id) => {
|
|
561
|
+
const root = P.root(); root.updateMatrixWorld(true); let node = null;
|
|
562
|
+
root.traverse((x) => { if (!node && x.name === id && !x.isMesh) node = x; });
|
|
563
|
+
let cabin = null;
|
|
564
|
+
try { const s = P.e().interior.cabin.seats.find((x) => x.id === id); if (s && s.hipPoint) cabin = [s.hipPoint[0], s.hipPoint[1], s.hipPoint[2]].map(R); } catch (err) { /* none */ }
|
|
565
|
+
return { node: node ? P.bodyPos(node).map(R) : null, cabin };
|
|
566
|
+
};
|
|
567
|
+
P.cabinFit = () => { try { const f = P.e().cabinFit; return f ? JSON.parse(JSON.stringify(f.report ?? f)) : null; } catch (err) { return null; } };
|
|
568
|
+
/**
|
|
569
|
+
* GRIP / STILLNESS window (vehicleGrip.ts): the local occupant's arm, hand and finger bones on each of the next n
|
|
570
|
+
* animation frames, read after the engine posed them. Every finger joint is also given in its own HAND's frame
|
|
571
|
+
* (rotation only, metres), so a hand that travels with the steering wheel does not read as its fingers moving. At the
|
|
572
|
+
* end: the steering wheel's vertices (body frame, at most ~1500) and its rotation, and the controller's steer input.
|
|
573
|
+
*/
|
|
574
|
+
P.occupantFrames = (n, stride) => new Promise((resolve) => {
|
|
575
|
+
const every = Math.max(1, stride || 1); let tick = 0;
|
|
576
|
+
let model = null; try { model = P.mp().local.model; } catch (err) { model = null; }
|
|
577
|
+
if (!model) { resolve(null); return; }
|
|
578
|
+
const ARM = /^(clavicle|upperarm|lowerarm|forearm|hand|thumb|index|middle|ring|pinky|pink)(_\\d+)?(_twist_?\\d*)?[_.](l|r)$/i;
|
|
579
|
+
const FINGER = /^(thumb|index|middle|ring|pinky|pink)(_\\d+)?[_.](l|r)$/i;
|
|
580
|
+
const bones = []; model.traverse((o) => { if (o.isBone && ARM.test(o.name)) bones.push(o); });
|
|
581
|
+
const hands = {}; for (const b of bones) { const m = /^hand[_.](l|r)$/i.exec(b.name); if (m) hands[m[1].toLowerCase()] = b; }
|
|
582
|
+
const V = P.V(), Q = P.Q(); const frames = []; const t0 = performance.now();
|
|
583
|
+
const step = () => {
|
|
584
|
+
if ((tick++ % every) !== 0) { requestAnimationFrame(step); return; }
|
|
585
|
+
const inv = P.inv(); const body = {}; const inHand = {}; const localQ = {};
|
|
586
|
+
for (const b of bones) { body[b.name] = P.bodyPos(b, inv).map(R); if (FINGER.test(b.name)) localQ[b.name] = [b.quaternion.x, b.quaternion.y, b.quaternion.z, b.quaternion.w].map((v) => Math.round(v * 1e5) / 1e5); }
|
|
587
|
+
for (const side of Object.keys(hands)) {
|
|
588
|
+
const h = hands[side]; const hp = h.getWorldPosition(new V()); const hq = h.getWorldQuaternion(new Q()).invert();
|
|
589
|
+
for (const b of bones) {
|
|
590
|
+
const f = FINGER.exec(b.name); if (!f || f[3].toLowerCase() !== side) continue;
|
|
591
|
+
const p = b.getWorldPosition(new V()).sub(hp).applyQuaternion(hq);
|
|
592
|
+
inHand[b.name] = [p.x, p.y, p.z].map(R);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
frames.push({ t: Math.round(performance.now() - t0), body, inHand, localQ });
|
|
596
|
+
if (frames.length >= n) {
|
|
597
|
+
let rim = null, rimQ = null, rimNode = null, steer = null;
|
|
598
|
+
try {
|
|
599
|
+
const e = P.e(), root = e.object3d; const inv2 = P.inv();
|
|
600
|
+
const rn = (e.interior && (e.interior.steeringRim || e.interior.steering)) || root.getObjectByName('steering_rim') || root.getObjectByName('steering');
|
|
601
|
+
if (rn) { const pts = []; rn.traverse((m) => { if (m.isMesh && !m.isSkinnedMesh && m.geometry && m.geometry.attributes && m.geometry.attributes.position) P.meshPoints(m, inv2, 1500, pts); }); rim = pts.map(R); rimQ = P.bodyQuat(rn); rimNode = rn.name; }
|
|
602
|
+
steer = e.controller && e.controller.input ? e.controller.input.steer : null;
|
|
603
|
+
} catch (err) { /* keep nulls */ }
|
|
604
|
+
resolve({ frames, rim, rimQ, rimNode, steer, hands: Object.keys(hands) });
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
607
|
+
requestAnimationFrame(step);
|
|
608
|
+
};
|
|
609
|
+
requestAnimationFrame(step);
|
|
610
|
+
});
|
|
611
|
+
/**
|
|
612
|
+
* NIGHT for the inspection frames: the test grounds have no time-of-day control, so dim the world's sun, sky,
|
|
613
|
+
* environment and exposure each frame (scene.onBeforeRender). The car's own lamps (spot lights, emissive lenses) are
|
|
614
|
+
* untouched. Ported from the vehicle-pipeline harness. P.setNight(false) restores every value.
|
|
615
|
+
*/
|
|
616
|
+
P.setNight = (on, dim) => {
|
|
617
|
+
// dim: the fraction of the world's exposure kept (0.08 = black night, the harness's value; the inspection uses a dusk
|
|
618
|
+
// level so the body still reads beside its lit lamps)
|
|
619
|
+
const k = typeof dim === 'number' && dim > 0 ? dim : 0.08;
|
|
620
|
+
const sc = P.sceneRoot();
|
|
621
|
+
const st = (P.__night = P.__night || (() => {
|
|
622
|
+
const o = { s: sc, lights: [], envI: sc.environmentIntensity, bgI: sc.backgroundIntensity, bg: sc.background && sc.background.isColor ? sc.background.getHex() : null, fog: sc.fog && sc.fog.color ? sc.fog.color.getHex() : null, sky: null, prev: sc.onBeforeRender, on: false };
|
|
623
|
+
// every light of the WORLD (sun, sky fill, the test grounds' own spot lights on the pads); the car's own lamps stay
|
|
624
|
+
const car = P.root();
|
|
625
|
+
sc.traverse((l) => { if (l.isLight && !P.isUnder(l, car) && !/^portable-cabin-lamp|^portable-vehicle|headlamp|headlight/i.test(l.name || '')) o.lights.push({ l, i: l.intensity }); });
|
|
626
|
+
for (const m of sc.children) if (m.isMesh && m.material && m.material.name === 'HosekWilkieSkyShader') { const u = m.material.uniforms; o.sky = { m, scale: u.radianceScale ? u.radianceScale.value : undefined, disc: u.showSunDisc ? u.showSunDisc.value : undefined }; }
|
|
627
|
+
return o;
|
|
628
|
+
})());
|
|
629
|
+
if (on && !st.on) {
|
|
630
|
+
st.s.onBeforeRender = function (...a) {
|
|
631
|
+
const rd = a[0];
|
|
632
|
+
if (rd && typeof rd.toneMappingExposure === 'number') { if (st.lastExp === undefined || rd.toneMappingExposure !== st.lastExp) st.baseExp = rd.toneMappingExposure; rd.toneMappingExposure = st.baseExp * k; st.lastExp = rd.toneMappingExposure; st.rd = rd; }
|
|
633
|
+
for (const x of st.lights) x.l.intensity = x.i * k * 0.5;
|
|
634
|
+
// the environment keeps a moonlit share so the body still reads beside its lamps
|
|
635
|
+
st.s.environmentIntensity = Math.max(k * 0.4, Math.min(0.3, k * 0.9)); if (typeof st.s.backgroundIntensity === 'number') st.s.backgroundIntensity = k * 0.4;
|
|
636
|
+
if (st.s.background && st.s.background.isColor) st.s.background.setRGB(0.004, 0.006, 0.012);
|
|
637
|
+
if (st.s.fog && st.s.fog.color) st.s.fog.color.setRGB(0.004, 0.006, 0.012);
|
|
638
|
+
if (st.sky) { const u = st.sky.m.material.uniforms; if (typeof st.sky.scale === 'number') u.radianceScale.value = st.sky.scale * 0.02; if (u.showSunDisc) u.showSunDisc.value = false; }
|
|
639
|
+
return st.prev ? st.prev.apply(this, a) : undefined;
|
|
640
|
+
};
|
|
641
|
+
st.on = true;
|
|
642
|
+
} else if (!on && st.on) {
|
|
643
|
+
st.s.onBeforeRender = st.prev || (() => {}); st.on = false;
|
|
644
|
+
if (st.rd && st.baseExp !== undefined) st.rd.toneMappingExposure = st.baseExp; st.lastExp = undefined;
|
|
645
|
+
for (const x of st.lights) x.l.intensity = x.i;
|
|
646
|
+
st.s.environmentIntensity = st.envI; if (st.bgI !== undefined) st.s.backgroundIntensity = st.bgI;
|
|
647
|
+
if (st.bg != null) st.s.background.setHex(st.bg); if (st.fog != null) st.s.fog.color.setHex(st.fog);
|
|
648
|
+
if (st.sky) { const u = st.sky.m.material.uniforms; if (st.sky.scale !== undefined) u.radianceScale.value = st.sky.scale; if (u.showSunDisc) u.showSunDisc.value = st.sky.disc; }
|
|
649
|
+
}
|
|
650
|
+
return st.on;
|
|
651
|
+
};
|
|
652
|
+
G.__vqaVeh = P;
|
|
653
|
+
return true;
|
|
654
|
+
})()`;
|
|
655
|
+
/** Hide every positioned overlay (HUD, hints, menus) that does not contain the canvas, in one frame. */
|
|
656
|
+
exports.HIDE_OVERLAYS = `(() => {
|
|
657
|
+
const els = document.querySelectorAll('body *');
|
|
658
|
+
let n = 0;
|
|
659
|
+
for (const el of els) {
|
|
660
|
+
if (el.tagName === 'CANVAS' || el.tagName === 'IFRAME' || el.dataset.vqaHidden) continue;
|
|
661
|
+
const pos = getComputedStyle(el).position;
|
|
662
|
+
if (pos !== 'fixed' && pos !== 'absolute' && pos !== 'sticky') continue;
|
|
663
|
+
if (el.querySelector('canvas,iframe')) continue;
|
|
664
|
+
el.dataset.vqaHidden = '1';
|
|
665
|
+
el.style.setProperty('visibility', 'hidden', 'important');
|
|
666
|
+
n++;
|
|
667
|
+
}
|
|
668
|
+
return n;
|
|
669
|
+
})()`;
|
|
670
|
+
//# sourceMappingURL=vehicleProbe.js.map
|