@3driseai/3drise-viewer 0.1.42 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animationsV2/ClipsRuntime.d.ts +16 -1
- package/dist/animationsV2/ClipsRuntime.d.ts.map +1 -1
- package/dist/animationsV2/ClipsRuntime.js +144 -25
- package/dist/animationsV2/appliers.d.ts +9 -0
- package/dist/animationsV2/appliers.d.ts.map +1 -1
- package/dist/animationsV2/appliers.js +62 -2
- package/dist/animationsV2/clipUtils.d.ts +30 -0
- package/dist/animationsV2/clipUtils.d.ts.map +1 -1
- package/dist/animationsV2/clipUtils.js +163 -17
- package/dist/animationsV2/elementSettings.d.ts +5 -0
- package/dist/animationsV2/elementSettings.d.ts.map +1 -1
- package/dist/animationsV2/elementSettings.js +6 -3
- package/dist/animationsV2/sequenceUtils.js +4 -4
- package/dist/animationsV2/types.d.ts +23 -0
- package/dist/animationsV2/types.d.ts.map +1 -1
- package/dist/api/sceneHandle.js +2 -2
- package/dist/components/CreatedObject.d.ts +3 -0
- package/dist/components/CreatedObject.d.ts.map +1 -1
- package/dist/components/CreatedObject.js +6 -2
- package/dist/components/CustomPrimitive.d.ts.map +1 -1
- package/dist/components/CustomPrimitive.js +1 -10
- package/dist/components/EnvironmentManager.d.ts.map +1 -1
- package/dist/components/EnvironmentManager.js +11 -5
- package/dist/components/GeometryShape.d.ts +5 -2
- package/dist/components/GeometryShape.d.ts.map +1 -1
- package/dist/components/GeometryShape.js +71 -10
- package/dist/components/LandObject.d.ts.map +1 -1
- package/dist/components/LandObject.js +1 -1
- package/dist/components/LayoutInstances.d.ts +2 -1
- package/dist/components/LayoutInstances.d.ts.map +1 -1
- package/dist/components/LayoutInstances.js +39 -6
- package/dist/components/LightObject.d.ts.map +1 -1
- package/dist/components/LightObject.js +3 -0
- package/dist/components/ObjectNode.d.ts.map +1 -1
- package/dist/components/ObjectNode.js +62 -13
- package/dist/components/OceanBuilder.d.ts +2 -0
- package/dist/components/OceanBuilder.d.ts.map +1 -1
- package/dist/components/OceanBuilder.js +2 -1
- package/dist/components/RenderEffects.d.ts +8 -0
- package/dist/components/RenderEffects.d.ts.map +1 -0
- package/dist/components/RenderEffects.js +120 -0
- package/dist/components/SceneBuilder.d.ts.map +1 -1
- package/dist/components/SceneBuilder.js +18 -9
- package/dist/components/SportsObject.d.ts +9 -0
- package/dist/components/SportsObject.d.ts.map +1 -0
- package/dist/components/SportsObject.js +20 -0
- package/dist/components/UrbanObject.d.ts +9 -0
- package/dist/components/UrbanObject.d.ts.map +1 -0
- package/dist/components/UrbanObject.js +28 -0
- package/dist/components/VegetationObject.d.ts +9 -0
- package/dist/components/VegetationObject.d.ts.map +1 -0
- package/dist/components/VegetationObject.js +26 -0
- package/dist/components/WaterObject.d.ts +15 -0
- package/dist/components/WaterObject.d.ts.map +1 -0
- package/dist/components/WaterObject.js +29 -0
- package/dist/components/index.d.ts +7 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +6 -1
- package/dist/components/land/LandPatch.d.ts +3 -1
- package/dist/components/land/LandPatch.d.ts.map +1 -1
- package/dist/components/land/LandPatch.js +80 -7
- package/dist/components/layout/InstancedLayout.d.ts +19 -0
- package/dist/components/layout/InstancedLayout.d.ts.map +1 -0
- package/dist/components/layout/InstancedLayout.js +154 -0
- package/dist/components/layout/LayoutGrounds.d.ts +19 -0
- package/dist/components/layout/LayoutGrounds.d.ts.map +1 -0
- package/dist/components/layout/LayoutGrounds.js +104 -0
- package/dist/components/layout/LinkProxies.d.ts +5 -0
- package/dist/components/layout/LinkProxies.d.ts.map +1 -0
- package/dist/components/layout/LinkProxies.js +51 -0
- package/dist/components/layout/LinkedSource.d.ts +14 -0
- package/dist/components/layout/LinkedSource.d.ts.map +1 -0
- package/dist/components/layout/LinkedSource.js +129 -0
- package/dist/components/projector/Projector.d.ts +14 -0
- package/dist/components/projector/Projector.d.ts.map +1 -0
- package/dist/components/projector/Projector.js +44 -0
- package/dist/components/projector/index.d.ts +4 -0
- package/dist/components/projector/index.d.ts.map +1 -0
- package/dist/components/projector/index.js +2 -0
- package/dist/components/projector/projectorCore.d.ts +19 -0
- package/dist/components/projector/projectorCore.d.ts.map +1 -0
- package/dist/components/projector/projectorCore.js +545 -0
- package/dist/components/sports/SportsBall.d.ts +9 -0
- package/dist/components/sports/SportsBall.d.ts.map +1 -0
- package/dist/components/sports/SportsBall.js +23 -0
- package/dist/components/sports/SportsCourt.d.ts +9 -0
- package/dist/components/sports/SportsCourt.d.ts.map +1 -0
- package/dist/components/sports/SportsCourt.js +23 -0
- package/dist/components/sports/SportsEquipment.d.ts +9 -0
- package/dist/components/sports/SportsEquipment.d.ts.map +1 -0
- package/dist/components/sports/SportsEquipment.js +23 -0
- package/dist/components/sports/SportsGoal.d.ts +9 -0
- package/dist/components/sports/SportsGoal.d.ts.map +1 -0
- package/dist/components/sports/SportsGoal.js +23 -0
- package/dist/components/sports/core/ball.d.ts +166 -0
- package/dist/components/sports/core/ball.d.ts.map +1 -0
- package/dist/components/sports/core/ball.js +402 -0
- package/dist/components/sports/core/court.d.ts +442 -0
- package/dist/components/sports/core/court.d.ts.map +1 -0
- package/dist/components/sports/core/court.js +658 -0
- package/dist/components/sports/core/equipment.d.ts +103 -0
- package/dist/components/sports/core/equipment.d.ts.map +1 -0
- package/dist/components/sports/core/equipment.js +403 -0
- package/dist/components/sports/core/goal.d.ts +98 -0
- package/dist/components/sports/core/goal.d.ts.map +1 -0
- package/dist/components/sports/core/goal.js +44 -0
- package/dist/components/sports/index.d.ts +11 -0
- package/dist/components/sports/index.d.ts.map +1 -0
- package/dist/components/sports/index.js +8 -0
- package/dist/components/sports/sportsCore.d.ts +195 -0
- package/dist/components/sports/sportsCore.d.ts.map +1 -0
- package/dist/components/sports/sportsCore.js +758 -0
- package/dist/components/sports/useSportsInstance.d.ts +35 -0
- package/dist/components/sports/useSportsInstance.d.ts.map +1 -0
- package/dist/components/sports/useSportsInstance.js +47 -0
- package/dist/components/terrain/TerrainSurface.d.ts.map +1 -1
- package/dist/components/terrain/TerrainSurface.js +14 -0
- package/dist/components/urban/UrbanBlock.d.ts +9 -0
- package/dist/components/urban/UrbanBlock.d.ts.map +1 -0
- package/dist/components/urban/UrbanBlock.js +23 -0
- package/dist/components/urban/UrbanBuilding.d.ts +9 -0
- package/dist/components/urban/UrbanBuilding.d.ts.map +1 -0
- package/dist/components/urban/UrbanBuilding.js +23 -0
- package/dist/components/urban/UrbanJunction.d.ts +9 -0
- package/dist/components/urban/UrbanJunction.d.ts.map +1 -0
- package/dist/components/urban/UrbanJunction.js +23 -0
- package/dist/components/urban/UrbanPark.d.ts +9 -0
- package/dist/components/urban/UrbanPark.d.ts.map +1 -0
- package/dist/components/urban/UrbanPark.js +23 -0
- package/dist/components/urban/UrbanParkingLot.d.ts +9 -0
- package/dist/components/urban/UrbanParkingLot.d.ts.map +1 -0
- package/dist/components/urban/UrbanParkingLot.js +23 -0
- package/dist/components/urban/UrbanPlaza.d.ts +9 -0
- package/dist/components/urban/UrbanPlaza.d.ts.map +1 -0
- package/dist/components/urban/UrbanPlaza.js +23 -0
- package/dist/components/urban/UrbanRoad.d.ts +9 -0
- package/dist/components/urban/UrbanRoad.d.ts.map +1 -0
- package/dist/components/urban/UrbanRoad.js +23 -0
- package/dist/components/urban/UrbanSignage.d.ts +9 -0
- package/dist/components/urban/UrbanSignage.d.ts.map +1 -0
- package/dist/components/urban/UrbanSignage.js +23 -0
- package/dist/components/urban/UrbanSkyline.d.ts +9 -0
- package/dist/components/urban/UrbanSkyline.d.ts.map +1 -0
- package/dist/components/urban/UrbanSkyline.js +23 -0
- package/dist/components/urban/UrbanStreetFurniture.d.ts +9 -0
- package/dist/components/urban/UrbanStreetFurniture.d.ts.map +1 -0
- package/dist/components/urban/UrbanStreetFurniture.js +23 -0
- package/dist/components/urban/UrbanStreetGrid.d.ts +9 -0
- package/dist/components/urban/UrbanStreetGrid.d.ts.map +1 -0
- package/dist/components/urban/UrbanStreetGrid.js +34 -0
- package/dist/components/urban/UrbanTraffic.d.ts +9 -0
- package/dist/components/urban/UrbanTraffic.d.ts.map +1 -0
- package/dist/components/urban/UrbanTraffic.js +23 -0
- package/dist/components/urban/core/block.d.ts +119 -0
- package/dist/components/urban/core/block.d.ts.map +1 -0
- package/dist/components/urban/core/block.js +266 -0
- package/dist/components/urban/core/building.d.ts +128 -0
- package/dist/components/urban/core/building.d.ts.map +1 -0
- package/dist/components/urban/core/building.js +741 -0
- package/dist/components/urban/core/junction.d.ts +152 -0
- package/dist/components/urban/core/junction.d.ts.map +1 -0
- package/dist/components/urban/core/junction.js +617 -0
- package/dist/components/urban/core/park.d.ts +67 -0
- package/dist/components/urban/core/park.d.ts.map +1 -0
- package/dist/components/urban/core/park.js +176 -0
- package/dist/components/urban/core/parkingLot.d.ts +82 -0
- package/dist/components/urban/core/parkingLot.d.ts.map +1 -0
- package/dist/components/urban/core/parkingLot.js +284 -0
- package/dist/components/urban/core/plaza.d.ts +24 -0
- package/dist/components/urban/core/plaza.d.ts.map +1 -0
- package/dist/components/urban/core/plaza.js +243 -0
- package/dist/components/urban/core/road.d.ts +113 -0
- package/dist/components/urban/core/road.d.ts.map +1 -0
- package/dist/components/urban/core/road.js +347 -0
- package/dist/components/urban/core/signage.d.ts +83 -0
- package/dist/components/urban/core/signage.d.ts.map +1 -0
- package/dist/components/urban/core/signage.js +209 -0
- package/dist/components/urban/core/skyline.d.ts +100 -0
- package/dist/components/urban/core/skyline.d.ts.map +1 -0
- package/dist/components/urban/core/skyline.js +89 -0
- package/dist/components/urban/core/streetFurniture.d.ts +75 -0
- package/dist/components/urban/core/streetFurniture.d.ts.map +1 -0
- package/dist/components/urban/core/streetFurniture.js +193 -0
- package/dist/components/urban/core/streetGrid.d.ts +134 -0
- package/dist/components/urban/core/streetGrid.d.ts.map +1 -0
- package/dist/components/urban/core/streetGrid.js +422 -0
- package/dist/components/urban/core/traffic.d.ts +125 -0
- package/dist/components/urban/core/traffic.d.ts.map +1 -0
- package/dist/components/urban/core/traffic.js +305 -0
- package/dist/components/urban/index.d.ts +29 -0
- package/dist/components/urban/index.d.ts.map +1 -0
- package/dist/components/urban/index.js +16 -0
- package/dist/components/urban/textureSetResolver.d.ts +8 -0
- package/dist/components/urban/textureSetResolver.d.ts.map +1 -0
- package/dist/components/urban/textureSetResolver.js +16 -0
- package/dist/components/urban/urbanCore.d.ts +262 -0
- package/dist/components/urban/urbanCore.d.ts.map +1 -0
- package/dist/components/urban/urbanCore.js +928 -0
- package/dist/components/urban/useUrbanInstance.d.ts +53 -0
- package/dist/components/urban/useUrbanInstance.d.ts.map +1 -0
- package/dist/components/urban/useUrbanInstance.js +100 -0
- package/dist/components/vegetation/VegetationBush.d.ts +9 -0
- package/dist/components/vegetation/VegetationBush.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationBush.js +23 -0
- package/dist/components/vegetation/VegetationCrops.d.ts +9 -0
- package/dist/components/vegetation/VegetationCrops.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationCrops.js +23 -0
- package/dist/components/vegetation/VegetationFlowers.d.ts +9 -0
- package/dist/components/vegetation/VegetationFlowers.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationFlowers.js +23 -0
- package/dist/components/vegetation/VegetationForest.d.ts +9 -0
- package/dist/components/vegetation/VegetationForest.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationForest.js +23 -0
- package/dist/components/vegetation/VegetationFruit.d.ts +9 -0
- package/dist/components/vegetation/VegetationFruit.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationFruit.js +23 -0
- package/dist/components/vegetation/VegetationGrass.d.ts +9 -0
- package/dist/components/vegetation/VegetationGrass.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationGrass.js +23 -0
- package/dist/components/vegetation/VegetationHedge.d.ts +9 -0
- package/dist/components/vegetation/VegetationHedge.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationHedge.js +23 -0
- package/dist/components/vegetation/VegetationIvy.d.ts +9 -0
- package/dist/components/vegetation/VegetationIvy.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationIvy.js +23 -0
- package/dist/components/vegetation/VegetationTree.d.ts +9 -0
- package/dist/components/vegetation/VegetationTree.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationTree.js +23 -0
- package/dist/components/vegetation/VegetationVegetable.d.ts +9 -0
- package/dist/components/vegetation/VegetationVegetable.d.ts.map +1 -0
- package/dist/components/vegetation/VegetationVegetable.js +23 -0
- package/dist/components/vegetation/core/bush.d.ts +1256 -0
- package/dist/components/vegetation/core/bush.d.ts.map +1 -0
- package/dist/components/vegetation/core/bush.js +376 -0
- package/dist/components/vegetation/core/crops.d.ts +1033 -0
- package/dist/components/vegetation/core/crops.d.ts.map +1 -0
- package/dist/components/vegetation/core/crops.js +378 -0
- package/dist/components/vegetation/core/flowers.d.ts +648 -0
- package/dist/components/vegetation/core/flowers.d.ts.map +1 -0
- package/dist/components/vegetation/core/flowers.js +225 -0
- package/dist/components/vegetation/core/forest.d.ts +138 -0
- package/dist/components/vegetation/core/forest.d.ts.map +1 -0
- package/dist/components/vegetation/core/forest.js +310 -0
- package/dist/components/vegetation/core/fruit.d.ts +99 -0
- package/dist/components/vegetation/core/fruit.d.ts.map +1 -0
- package/dist/components/vegetation/core/fruit.js +77 -0
- package/dist/components/vegetation/core/grass.d.ts +103 -0
- package/dist/components/vegetation/core/grass.d.ts.map +1 -0
- package/dist/components/vegetation/core/grass.js +102 -0
- package/dist/components/vegetation/core/hedge.d.ts +193 -0
- package/dist/components/vegetation/core/hedge.d.ts.map +1 -0
- package/dist/components/vegetation/core/hedge.js +243 -0
- package/dist/components/vegetation/core/ivy.d.ts +213 -0
- package/dist/components/vegetation/core/ivy.d.ts.map +1 -0
- package/dist/components/vegetation/core/ivy.js +173 -0
- package/dist/components/vegetation/core/tree.d.ts +1117 -0
- package/dist/components/vegetation/core/tree.d.ts.map +1 -0
- package/dist/components/vegetation/core/tree.js +408 -0
- package/dist/components/vegetation/core/vegetable.d.ts +99 -0
- package/dist/components/vegetation/core/vegetable.d.ts.map +1 -0
- package/dist/components/vegetation/core/vegetable.js +76 -0
- package/dist/components/vegetation/index.d.ts +23 -0
- package/dist/components/vegetation/index.d.ts.map +1 -0
- package/dist/components/vegetation/index.js +14 -0
- package/dist/components/vegetation/produceCore.d.ts +929 -0
- package/dist/components/vegetation/produceCore.d.ts.map +1 -0
- package/dist/components/vegetation/produceCore.js +723 -0
- package/dist/components/vegetation/useVegetationInstance.d.ts +39 -0
- package/dist/components/vegetation/useVegetationInstance.d.ts.map +1 -0
- package/dist/components/vegetation/useVegetationInstance.js +45 -0
- package/dist/components/vegetation/vegetationCore.d.ts +412 -0
- package/dist/components/vegetation/vegetationCore.d.ts.map +1 -0
- package/dist/components/vegetation/vegetationCore.js +1728 -0
- package/dist/components/volumetricClouds/VolumetricCloudsPass.d.ts +5 -0
- package/dist/components/volumetricClouds/VolumetricCloudsPass.d.ts.map +1 -1
- package/dist/components/volumetricClouds/VolumetricCloudsPass.js +39 -13
- package/dist/components/water/OceanSurface.d.ts.map +1 -1
- package/dist/components/water/OceanSurface.js +3 -2
- package/dist/components/water/WaterBody.d.ts.map +1 -1
- package/dist/components/water/WaterBody.js +31 -10
- package/dist/components/water/WaterFountain.d.ts +9 -0
- package/dist/components/water/WaterFountain.d.ts.map +1 -0
- package/dist/components/water/WaterFountain.js +24 -0
- package/dist/components/water/WaterStream.d.ts +9 -0
- package/dist/components/water/WaterStream.d.ts.map +1 -0
- package/dist/components/water/WaterStream.js +24 -0
- package/dist/components/water/WaterWaterfall.d.ts +9 -0
- package/dist/components/water/WaterWaterfall.d.ts.map +1 -0
- package/dist/components/water/WaterWaterfall.js +24 -0
- package/dist/components/water/core/fountain.d.ts +70 -0
- package/dist/components/water/core/fountain.d.ts.map +1 -0
- package/dist/components/water/core/fountain.js +619 -0
- package/dist/components/water/core/stream.d.ts +72 -0
- package/dist/components/water/core/stream.d.ts.map +1 -0
- package/dist/components/water/core/stream.js +167 -0
- package/dist/components/water/core/waterfall.d.ts +78 -0
- package/dist/components/water/core/waterfall.d.ts.map +1 -0
- package/dist/components/water/core/waterfall.js +325 -0
- package/dist/components/water/index.d.ts +8 -0
- package/dist/components/water/index.d.ts.map +1 -1
- package/dist/components/water/index.js +7 -0
- package/dist/components/water/types.d.ts +3 -0
- package/dist/components/water/types.d.ts.map +1 -1
- package/dist/components/water/useWaterInstance.d.ts +43 -0
- package/dist/components/water/useWaterInstance.d.ts.map +1 -0
- package/dist/components/water/useWaterInstance.js +89 -0
- package/dist/components/water/waterCore.d.ts +179 -0
- package/dist/components/water/waterCore.d.ts.map +1 -0
- package/dist/components/water/waterCore.js +516 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +9 -1
- package/dist/hooks/index.d.ts +7 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +5 -2
- package/dist/hooks/useActionPatch.d.ts +23 -0
- package/dist/hooks/useActionPatch.d.ts.map +1 -0
- package/dist/hooks/useActionPatch.js +38 -0
- package/dist/hooks/useCloudSun.d.ts.map +1 -1
- package/dist/hooks/useCloudSun.js +3 -2
- package/dist/hooks/useCommittedInstance.d.ts +6 -0
- package/dist/hooks/useCommittedInstance.d.ts.map +1 -0
- package/dist/hooks/useCommittedInstance.js +42 -0
- package/dist/hooks/useConfigLive.d.ts +1 -1
- package/dist/hooks/useConfigLive.d.ts.map +1 -1
- package/dist/hooks/useContinuousEffects.d.ts.map +1 -1
- package/dist/hooks/useContinuousEffects.js +36 -20
- package/dist/hooks/useGridLayout.d.ts +7 -0
- package/dist/hooks/useGridLayout.d.ts.map +1 -0
- package/dist/hooks/useGridLayout.js +10 -0
- package/dist/hooks/useInteractionEffects.d.ts.map +1 -1
- package/dist/hooks/useInteractionEffects.js +48 -9
- package/dist/hooks/useLightLive.d.ts.map +1 -1
- package/dist/hooks/useLightLive.js +2 -0
- package/dist/hooks/useLinkStatus.d.ts +7 -0
- package/dist/hooks/useLinkStatus.d.ts.map +1 -0
- package/dist/hooks/useLinkStatus.js +20 -0
- package/dist/hooks/useMaterialApplication.d.ts +6 -1
- package/dist/hooks/useMaterialApplication.d.ts.map +1 -1
- package/dist/hooks/useMaterialApplication.js +7 -2
- package/dist/hooks/useOceanMaterial.d.ts +11 -1
- package/dist/hooks/useOceanMaterial.d.ts.map +1 -1
- package/dist/hooks/useOceanMaterial.js +185 -27
- package/dist/hooks/usePathAnimation.d.ts +8 -0
- package/dist/hooks/usePathAnimation.d.ts.map +1 -1
- package/dist/hooks/usePathAnimation.js +140 -59
- package/dist/hooks/useResolvedLayout.d.ts +10 -0
- package/dist/hooks/useResolvedLayout.d.ts.map +1 -0
- package/dist/hooks/useResolvedLayout.js +17 -0
- package/dist/hooks/useTimeLighting.d.ts +36 -0
- package/dist/hooks/useTimeLighting.d.ts.map +1 -0
- package/dist/hooks/useTimeLighting.js +67 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/operations/catalogue/shaderLayers.d.ts.map +1 -1
- package/dist/operations/catalogue/shaderLayers.js +26 -3
- package/dist/render/renderLive.d.ts +11 -0
- package/dist/render/renderLive.d.ts.map +1 -0
- package/dist/render/renderLive.js +57 -0
- package/dist/shaders/glsl/oceanCore.glsl.d.ts +2 -2
- package/dist/shaders/glsl/oceanCore.glsl.d.ts.map +1 -1
- package/dist/shaders/glsl/oceanCore.glsl.js +35 -5
- package/dist/shaders/ocean/OceanSurfaceMaterial.d.ts +12 -0
- package/dist/shaders/ocean/OceanSurfaceMaterial.d.ts.map +1 -1
- package/dist/shaders/ocean/OceanSurfaceMaterial.js +55 -7
- package/dist/shaders/terrain/TerrainMaterial.d.ts.map +1 -1
- package/dist/shaders/terrain/TerrainMaterial.js +28 -0
- package/dist/triggers/kinds/change.js +1 -1
- package/dist/utils/composerHostedPass.d.ts +74 -0
- package/dist/utils/composerHostedPass.d.ts.map +1 -0
- package/dist/utils/composerHostedPass.js +63 -0
- package/dist/utils/geometryScript.d.ts +17 -0
- package/dist/utils/geometryScript.d.ts.map +1 -0
- package/dist/utils/geometryScript.js +92 -0
- package/dist/utils/geometryScript.worker.d.ts +2 -0
- package/dist/utils/geometryScript.worker.d.ts.map +1 -0
- package/dist/utils/geometryScript.worker.js +42 -0
- package/dist/utils/groundRegistry.d.ts +11 -0
- package/dist/utils/groundRegistry.d.ts.map +1 -0
- package/dist/utils/groundRegistry.js +39 -0
- package/dist/utils/instancingSupport.d.ts +9 -0
- package/dist/utils/instancingSupport.d.ts.map +1 -0
- package/dist/utils/instancingSupport.js +13 -0
- package/dist/utils/landPatch.d.ts +26 -5
- package/dist/utils/landPatch.d.ts.map +1 -1
- package/dist/utils/landPatch.js +124 -9
- package/dist/utils/layoutPlacement.d.ts +30 -0
- package/dist/utils/layoutPlacement.d.ts.map +1 -0
- package/dist/utils/layoutPlacement.js +113 -0
- package/dist/utils/linkRegistry.d.ts +15 -0
- package/dist/utils/linkRegistry.d.ts.map +1 -0
- package/dist/utils/linkRegistry.js +11 -0
- package/dist/utils/shapes.d.ts +28 -2
- package/dist/utils/shapes.d.ts.map +1 -1
- package/dist/utils/shapes.js +32 -3
- package/dist/utils/sharedParts.d.ts +61 -0
- package/dist/utils/sharedParts.d.ts.map +1 -0
- package/dist/utils/sharedParts.js +268 -0
- package/dist/utils/svgAsset.d.ts +6 -0
- package/dist/utils/svgAsset.d.ts.map +1 -0
- package/dist/utils/svgAsset.js +46 -0
- package/dist/utils/waterLight.d.ts +29 -0
- package/dist/utils/waterLight.d.ts.map +1 -0
- package/dist/utils/waterLight.js +67 -0
- package/dist/utils/waterReflection.d.ts +185 -0
- package/dist/utils/waterReflection.d.ts.map +1 -0
- package/dist/utils/waterReflection.js +616 -0
- package/package.json +4 -3
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
// Emitted from Claude outputs/urban-lab/plaza.mjs by emit_object.mjs — edit the lab module and re-emit.
|
|
2
|
+
// =============================================================================
|
|
3
|
+
// urban/plaza — a paved area inside a polygon: two paving sets in a pattern, a kerb, lamp-lit
|
|
4
|
+
// =============================================================================
|
|
5
|
+
// Construction. The polygon (config.points, metres in the object's XZ) is sampled like a
|
|
6
|
+
// road path (closed; `curve` rounds the corners), triangulated into one slab (ShapeGeometry)
|
|
7
|
+
// whose UVs are the metres themselves, and a kerb ribbon runs around it (top at kerbHeight,
|
|
8
|
+
// an outer face down to the ground). The slab's fragment shader lays a second paving set
|
|
9
|
+
// over the first along a PATTERN measured in metres — grid, stripes or rings from the
|
|
10
|
+
// centre — anti-aliased with fwidth, both sets normalised to their mean so the two colour
|
|
11
|
+
// knobs decide. Lit by the shared sun block and by the lamp list (street lamps, plaza
|
|
12
|
+
// lamps, bollards, the shelter panel), so a forecourt reads at night without a light.
|
|
13
|
+
import * as THREE from 'three';
|
|
14
|
+
import { createSunUniforms, createLampUniforms, createTextureUniforms, applyTextureSet, glslTextureBlock, GLSL_COMMON, GLSL_FOG_PARS, GLSL_FOG_VERT_PARS, GLSL_OUT, loadTextureSet, createPavingUniforms, createPavingMaterial, samplePath, ribbon, mergeGeometries, SURFACE_DEPTH, } from '../urbanCore.js';
|
|
15
|
+
export const PATTERNS = ['none', 'grid', 'stripes', 'rings', 'checker'];
|
|
16
|
+
export const LIGHTING = ['auto', 'day', 'night'];
|
|
17
|
+
export const STRUCTURAL = ['points', 'curve', 'texture', 'bandTexture', 'kerb', 'kerbHeight', 'seed'];
|
|
18
|
+
// ---------------------------------------------------------------------------- slab material
|
|
19
|
+
export function createUniforms() {
|
|
20
|
+
return Object.assign(createSunUniforms(), createLampUniforms(), createTextureUniforms('uPav'), createTextureUniforms('uBand'), {
|
|
21
|
+
uPavColor: { value: new THREE.Color() },
|
|
22
|
+
uBandColor: { value: new THREE.Color() },
|
|
23
|
+
uPattern: { value: 1 },
|
|
24
|
+
uSpacing: { value: 8 },
|
|
25
|
+
uBandW: { value: 0.6 },
|
|
26
|
+
uAngle: { value: 0 },
|
|
27
|
+
uSeed: { value: 1 },
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export function applyConfig(u, c, tex = undefined, bandTex = undefined) {
|
|
31
|
+
if (c.color !== undefined)
|
|
32
|
+
u.uPavColor.value.set(c.color);
|
|
33
|
+
if (c.bandColor !== undefined)
|
|
34
|
+
u.uBandColor.value.set(c.bandColor);
|
|
35
|
+
if (c.pattern !== undefined)
|
|
36
|
+
u.uPattern.value = PATTERNS.indexOf(c.pattern);
|
|
37
|
+
if (c.patternSpacing !== undefined)
|
|
38
|
+
u.uSpacing.value = c.patternSpacing;
|
|
39
|
+
if (c.patternWidth !== undefined)
|
|
40
|
+
u.uBandW.value = c.patternWidth;
|
|
41
|
+
if (c.patternAngle !== undefined)
|
|
42
|
+
u.uAngle.value = c.patternAngle * Math.PI / 180;
|
|
43
|
+
if (c.seed !== undefined)
|
|
44
|
+
u.uSeed.value = c.seed;
|
|
45
|
+
if (tex !== undefined)
|
|
46
|
+
applyTextureSet(u, 'uPav', tex, c.texture && c.texture.tileSize, 0.7);
|
|
47
|
+
if (bandTex !== undefined)
|
|
48
|
+
applyTextureSet(u, 'uBand', bandTex, c.bandTexture && c.bandTexture.tileSize, 0.7);
|
|
49
|
+
}
|
|
50
|
+
export const VERT = /* glsl */ `
|
|
51
|
+
attribute vec2 aUV;
|
|
52
|
+
varying vec3 vN; varying vec3 vP; varying vec2 vUVm;
|
|
53
|
+
${GLSL_FOG_VERT_PARS}
|
|
54
|
+
void main() {
|
|
55
|
+
vec4 wp = modelMatrix * vec4(position, 1.0);
|
|
56
|
+
vP = wp.xyz;
|
|
57
|
+
vN = normalize(mat3(modelMatrix) * normal);
|
|
58
|
+
vUVm = aUV;
|
|
59
|
+
vec4 mvPosition = viewMatrix * wp;
|
|
60
|
+
gl_Position = projectionMatrix * mvPosition;
|
|
61
|
+
#include <fog_vertex>
|
|
62
|
+
}`;
|
|
63
|
+
export const FRAG = /* glsl */ `
|
|
64
|
+
precision highp float;
|
|
65
|
+
${GLSL_COMMON}
|
|
66
|
+
${glslTextureBlock('uPav')}
|
|
67
|
+
${glslTextureBlock('uBand')}
|
|
68
|
+
uniform vec3 uPavColor; uniform vec3 uBandColor;
|
|
69
|
+
uniform float uPattern; uniform float uSpacing; uniform float uBandW; uniform float uAngle; uniform float uSeed;
|
|
70
|
+
varying vec3 vN; varying vec3 vP; varying vec2 vUVm;
|
|
71
|
+
${GLSL_FOG_PARS}
|
|
72
|
+
|
|
73
|
+
// Pattern mask in metres: 1 where the second paving set shows.
|
|
74
|
+
float patternMask(vec2 q) {
|
|
75
|
+
float s = max(uSpacing, 0.2), w = uBandW;
|
|
76
|
+
if (uPattern < 0.5) return 0.0;
|
|
77
|
+
if (uPattern < 1.5) { // grid: lines centred on the multiples of s
|
|
78
|
+
vec2 m = abs(mod(q + s * 0.5, s) - s * 0.5);
|
|
79
|
+
return max(1.0 - bandAA(m.x, w * 0.5, 1e9), 1.0 - bandAA(m.y, w * 0.5, 1e9));
|
|
80
|
+
}
|
|
81
|
+
if (uPattern < 2.5) { // stripes along the pattern angle
|
|
82
|
+
float m = abs(mod(q.x + s * 0.5, s) - s * 0.5);
|
|
83
|
+
return 1.0 - bandAA(m, w * 0.5, 1e9);
|
|
84
|
+
}
|
|
85
|
+
if (uPattern < 3.5) { // rings from the centre
|
|
86
|
+
float m = abs(mod(length(q) + s * 0.5, s) - s * 0.5);
|
|
87
|
+
return 1.0 - bandAA(m, w * 0.5, 1e9);
|
|
88
|
+
}
|
|
89
|
+
// checker: alternate cells of s
|
|
90
|
+
vec2 cell = floor(q / s);
|
|
91
|
+
return mod(cell.x + cell.y, 2.0);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
void main() {
|
|
95
|
+
vec3 N = normalize(vN);
|
|
96
|
+
vec3 V = normalize(cameraPosition - vP);
|
|
97
|
+
// Both sets sample in metres; the pattern is measured in a frame turned by uAngle.
|
|
98
|
+
float ca = cos(uAngle), sa = sin(uAngle);
|
|
99
|
+
vec2 q = vec2(ca * vUVm.x - sa * vUVm.y, sa * vUVm.x + ca * vUVm.y);
|
|
100
|
+
float roughA, roughB;
|
|
101
|
+
vec3 Na = N, Nb = N;
|
|
102
|
+
vec3 T = vec3(1.0, 0.0, 0.0), B = vec3(0.0, 0.0, 1.0);
|
|
103
|
+
vec3 mulA = uPavSample(vUVm, Na, T, B, roughA);
|
|
104
|
+
vec3 mulB = uBandSample(q, Nb, T, B, roughB);
|
|
105
|
+
float mask = patternMask(q);
|
|
106
|
+
float macro = 0.94 + 0.12 * vnoise21(vUVm / 9.0 + uSeed);
|
|
107
|
+
vec3 albedo = mix(uPavColor * mulA, uBandColor * mulB, mask) * macro;
|
|
108
|
+
vec3 Nn = normalize(mix(Na, Nb, mask));
|
|
109
|
+
float rough = mix(roughA, roughB, mask);
|
|
110
|
+
vec3 col = shadeSurface(albedo, Nn, vP, V, rough, 1.0);
|
|
111
|
+
${GLSL_OUT}
|
|
112
|
+
}`;
|
|
113
|
+
export function createMaterial(u) {
|
|
114
|
+
return new THREE.ShaderMaterial({ uniforms: Object.assign(THREE.UniformsUtils.clone(THREE.UniformsLib.fog), u), vertexShader: VERT, fragmentShader: FRAG, fog: true, ...SURFACE_DEPTH });
|
|
115
|
+
}
|
|
116
|
+
// ---------------------------------------------------------------------------- geometry
|
|
117
|
+
/** Signed area of an [x, z] polygon (positive = counter-clockwise seen from above, +y). */
|
|
118
|
+
export function signedArea(pts) {
|
|
119
|
+
let a = 0;
|
|
120
|
+
for (let i = 0; i < pts.length; i++) {
|
|
121
|
+
const p = pts[i], q = pts[(i + 1) % pts.length];
|
|
122
|
+
a += p[0] * q[1] - q[0] * p[1];
|
|
123
|
+
}
|
|
124
|
+
return a * 0.5;
|
|
125
|
+
}
|
|
126
|
+
/** The slab: the sampled outline as a Shape, triangulated, UVs in metres, laid flat at height y. */
|
|
127
|
+
export function slabGeometry(samples, y) {
|
|
128
|
+
const shape = new THREE.Shape();
|
|
129
|
+
samples.forEach((s, i) => { if (i === 0)
|
|
130
|
+
shape.moveTo(s.p.x, s.p.z);
|
|
131
|
+
else
|
|
132
|
+
shape.lineTo(s.p.x, s.p.z); });
|
|
133
|
+
shape.closePath();
|
|
134
|
+
const g = new THREE.ShapeGeometry(shape, 1);
|
|
135
|
+
// ShapeGeometry lies in xy with +z up: turn it onto xz with +y up.
|
|
136
|
+
const pos = g.getAttribute('position');
|
|
137
|
+
const uv = new Float32Array(pos.count * 2);
|
|
138
|
+
for (let i = 0; i < pos.count; i++) {
|
|
139
|
+
const x = pos.getX(i), z = pos.getY(i);
|
|
140
|
+
pos.setXYZ(i, x, y, z);
|
|
141
|
+
uv[i * 2] = x;
|
|
142
|
+
uv[i * 2 + 1] = z;
|
|
143
|
+
}
|
|
144
|
+
pos.needsUpdate = true;
|
|
145
|
+
g.setAttribute('aUV', new THREE.BufferAttribute(uv, 2));
|
|
146
|
+
// Winding: ShapeGeometry triangles face +z (now -y or +y depending on the outline direction); make them face up.
|
|
147
|
+
g.computeVertexNormals();
|
|
148
|
+
const n = g.getAttribute('normal');
|
|
149
|
+
if (n.getY(0) < 0) {
|
|
150
|
+
const idx = g.index;
|
|
151
|
+
for (let i = 0; i < idx.count; i += 3) {
|
|
152
|
+
const t = idx.getX(i + 1);
|
|
153
|
+
idx.setX(i + 1, idx.getX(i + 2));
|
|
154
|
+
idx.setX(i + 2, t);
|
|
155
|
+
}
|
|
156
|
+
idx.needsUpdate = true;
|
|
157
|
+
g.computeVertexNormals();
|
|
158
|
+
}
|
|
159
|
+
g.computeBoundingBox();
|
|
160
|
+
g.computeBoundingSphere();
|
|
161
|
+
return g;
|
|
162
|
+
}
|
|
163
|
+
// ---------------------------------------------------------------------------- lab build
|
|
164
|
+
export function build(u, c) {
|
|
165
|
+
const group = new THREE.Group();
|
|
166
|
+
const slabMat = createMaterial(u);
|
|
167
|
+
const kerbU = createPavingUniforms();
|
|
168
|
+
const kerbMat = createPavingMaterial(kerbU);
|
|
169
|
+
let slab = null, kerb = null;
|
|
170
|
+
const state = { tex: null, band: null };
|
|
171
|
+
const clear = () => {
|
|
172
|
+
for (const m of [slab, kerb])
|
|
173
|
+
if (m) {
|
|
174
|
+
group.remove(m);
|
|
175
|
+
m.geometry.dispose();
|
|
176
|
+
}
|
|
177
|
+
slab = kerb = null;
|
|
178
|
+
};
|
|
179
|
+
const rebuild = (cfg) => {
|
|
180
|
+
clear();
|
|
181
|
+
let pts = (cfg.points || []).filter((p) => Array.isArray(p) && p.length >= 2);
|
|
182
|
+
if (pts.length < 3)
|
|
183
|
+
return;
|
|
184
|
+
// Counter-clockwise seen from above, so the ribbon's "right" side is the outside.
|
|
185
|
+
if (signedArea(pts) > 0)
|
|
186
|
+
pts = [...pts].reverse();
|
|
187
|
+
const samples = samplePath(pts, cfg.curve, true);
|
|
188
|
+
if (samples.length < 3)
|
|
189
|
+
return;
|
|
190
|
+
const kh = cfg.kerb ? Math.max(0.02, cfg.kerbHeight) : 0.02;
|
|
191
|
+
slab = new THREE.Mesh(slabGeometry(samples, kh), slabMat);
|
|
192
|
+
slab.frustumCulled = false;
|
|
193
|
+
group.add(slab);
|
|
194
|
+
if (cfg.kerb) {
|
|
195
|
+
// The kerb: a flat top band 0.3 m wide just inside the edge and the outer face down to the ground.
|
|
196
|
+
const parts = [
|
|
197
|
+
ribbon(samples, -0.3, 0, kh, kh, false), // top band (inside the outline)
|
|
198
|
+
ribbon(samples, 0, 0, kh, 0.0, true, 1), // outer face
|
|
199
|
+
];
|
|
200
|
+
kerb = new THREE.Mesh(mergeGeometries(parts, [['aUV', 2]]), kerbMat);
|
|
201
|
+
kerb.frustumCulled = false;
|
|
202
|
+
group.add(kerb);
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
const setTextures = (cfg) => {
|
|
206
|
+
const m = cfg.texture && cfg.texture.maps;
|
|
207
|
+
state.tex = m && m.color ? loadTextureSet(m) : null;
|
|
208
|
+
const bm = cfg.bandTexture && cfg.bandTexture.maps;
|
|
209
|
+
state.band = bm && bm.color ? loadTextureSet(bm) : null;
|
|
210
|
+
const ap = () => {
|
|
211
|
+
applyConfig(u, cfg, state.tex && state.tex.color ? state.tex : null, state.band && state.band.color ? state.band : null);
|
|
212
|
+
applyTextureSet(kerbU, 'uPav', state.band && state.band.color ? state.band : null, cfg.bandTexture && cfg.bandTexture.tileSize, 0.7);
|
|
213
|
+
};
|
|
214
|
+
if (state.tex)
|
|
215
|
+
state.tex.ready.then(ap);
|
|
216
|
+
if (state.band)
|
|
217
|
+
state.band.ready.then(ap);
|
|
218
|
+
ap();
|
|
219
|
+
};
|
|
220
|
+
const apply = (cfg) => {
|
|
221
|
+
applyConfig(u, cfg, undefined, undefined);
|
|
222
|
+
if (cfg.bandColor !== undefined)
|
|
223
|
+
kerbU.uPavColor.value.set(cfg.bandColor);
|
|
224
|
+
};
|
|
225
|
+
rebuild(c);
|
|
226
|
+
setTextures(c);
|
|
227
|
+
apply(c);
|
|
228
|
+
return {
|
|
229
|
+
object: group,
|
|
230
|
+
materials: [slabMat, kerbMat],
|
|
231
|
+
uniformSets: [u, kerbU],
|
|
232
|
+
apply,
|
|
233
|
+
rebuild(cfg) { rebuild(cfg); setTextures(cfg); apply(cfg); },
|
|
234
|
+
bounds() { const b = new THREE.Box3(); for (const m of [slab, kerb])
|
|
235
|
+
if (m) {
|
|
236
|
+
if (!m.geometry.boundingBox)
|
|
237
|
+
m.geometry.computeBoundingBox();
|
|
238
|
+
b.union(m.geometry.boundingBox);
|
|
239
|
+
} return b; },
|
|
240
|
+
update() { },
|
|
241
|
+
dispose() { clear(); slabMat.dispose(); kerbMat.dispose(); },
|
|
242
|
+
};
|
|
243
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export declare const MARKINGS: string[];
|
|
3
|
+
export declare const LAMP_SIDES: string[];
|
|
4
|
+
export declare const LIGHTING: string[];
|
|
5
|
+
export declare const STRUCTURAL: string[];
|
|
6
|
+
export declare function roadWidth(c: any): number;
|
|
7
|
+
/** Where the lamps stand: [{ x, z, ry, side }] in object space (head arm turned toward the road). */
|
|
8
|
+
export declare function lampPositions(c: any, samples: any): any[];
|
|
9
|
+
export declare function createUniforms(): {
|
|
10
|
+
uSunDir: {
|
|
11
|
+
value: THREE.Vector3;
|
|
12
|
+
};
|
|
13
|
+
uSunColor: {
|
|
14
|
+
value: THREE.Color;
|
|
15
|
+
};
|
|
16
|
+
uSkyAmbient: {
|
|
17
|
+
value: THREE.Color;
|
|
18
|
+
};
|
|
19
|
+
uGroundAmbient: {
|
|
20
|
+
value: THREE.Color;
|
|
21
|
+
};
|
|
22
|
+
uNight: {
|
|
23
|
+
value: number;
|
|
24
|
+
};
|
|
25
|
+
} & {
|
|
26
|
+
uLamps: {
|
|
27
|
+
value: any[];
|
|
28
|
+
};
|
|
29
|
+
uLampColors: {
|
|
30
|
+
value: any[];
|
|
31
|
+
};
|
|
32
|
+
uLampAims: {
|
|
33
|
+
value: any[];
|
|
34
|
+
};
|
|
35
|
+
uLampCount: {
|
|
36
|
+
value: number;
|
|
37
|
+
};
|
|
38
|
+
uLampTop: {
|
|
39
|
+
value: number;
|
|
40
|
+
};
|
|
41
|
+
uLampField: {
|
|
42
|
+
value: any;
|
|
43
|
+
};
|
|
44
|
+
uLampFieldRect: {
|
|
45
|
+
value: THREE.Vector4;
|
|
46
|
+
};
|
|
47
|
+
uLampFieldOn: {
|
|
48
|
+
value: number;
|
|
49
|
+
};
|
|
50
|
+
} & {
|
|
51
|
+
uAsphaltColor: {
|
|
52
|
+
value: THREE.Color;
|
|
53
|
+
};
|
|
54
|
+
uMarkingColor: {
|
|
55
|
+
value: THREE.Color;
|
|
56
|
+
};
|
|
57
|
+
uWidth: {
|
|
58
|
+
value: number;
|
|
59
|
+
};
|
|
60
|
+
uLaneWidth: {
|
|
61
|
+
value: number;
|
|
62
|
+
};
|
|
63
|
+
uLanes: {
|
|
64
|
+
value: number;
|
|
65
|
+
};
|
|
66
|
+
uMarking: {
|
|
67
|
+
value: number;
|
|
68
|
+
};
|
|
69
|
+
uLaneLines: {
|
|
70
|
+
value: number;
|
|
71
|
+
};
|
|
72
|
+
uEdgeLines: {
|
|
73
|
+
value: number;
|
|
74
|
+
};
|
|
75
|
+
uCrosswalks: {
|
|
76
|
+
value: number;
|
|
77
|
+
};
|
|
78
|
+
uWear: {
|
|
79
|
+
value: number;
|
|
80
|
+
};
|
|
81
|
+
uLength: {
|
|
82
|
+
value: number;
|
|
83
|
+
};
|
|
84
|
+
uSeed: {
|
|
85
|
+
value: number;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export declare function applyConfig(u: any, c: any, tex?: any): void;
|
|
89
|
+
export declare const VERT = "\nattribute vec2 aUV;\nvarying vec3 vN; varying vec3 vP; varying vec2 vST;\n#include <fog_pars_vertex>\nvoid main() {\n vec4 wp = modelMatrix * vec4(position, 1.0);\n vP = wp.xyz;\n vN = normalize(mat3(modelMatrix) * normal);\n vST = aUV;\n vec4 mvPosition = viewMatrix * wp;\n gl_Position = projectionMatrix * mvPosition;\n #include <fog_vertex>\n}";
|
|
90
|
+
export declare const FRAG: string;
|
|
91
|
+
export declare function createMaterial(u: any): THREE.ShaderMaterial;
|
|
92
|
+
/**
|
|
93
|
+
* build(u, c) -> { object, materials, apply, rebuild, update, dispose, bounds, lamps }
|
|
94
|
+
* `u` is the asphalt uniforms; the paving and fixture uniforms are created here and share
|
|
95
|
+
* the sun / lamp values through applySun on all three (the component does the same).
|
|
96
|
+
*/
|
|
97
|
+
export declare const CHUNK_M = 120;
|
|
98
|
+
export declare function build(u: any, c: any): {
|
|
99
|
+
object: THREE.Group<THREE.Object3DEventMap>;
|
|
100
|
+
readonly materials: THREE.ShaderMaterial[];
|
|
101
|
+
/** The shared uniform sets (sun goes here once; the chunks reference the same objects). */
|
|
102
|
+
uniformSets: any[];
|
|
103
|
+
/** Lamp gathering targets: each chunk's asphalt and paving with its local bounds. */
|
|
104
|
+
lampTargets(): any[];
|
|
105
|
+
apply: (cfg: any) => void;
|
|
106
|
+
rebuild(cfg: any): void;
|
|
107
|
+
/** Local-space bounds (the caller applies the object's world matrix). */
|
|
108
|
+
bounds(): THREE.Box3;
|
|
109
|
+
/** Keep the registry's world positions in step with the object's transform. */
|
|
110
|
+
update(): void;
|
|
111
|
+
dispose(): void;
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=road.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"road.d.ts","sourceRoot":"","sources":["../../../../src/components/urban/core/road.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,eAAO,MAAM,QAAQ,UAAwC,CAAC;AAC9D,eAAO,MAAM,UAAU,UAAiD,CAAC;AACzE,eAAO,MAAM,QAAQ,UAA2B,CAAC;AAEjD,eAAO,MAAM,UAAU,UAAqJ,CAAC;AAG7K,wBAAgB,SAAS,CAAC,CAAC,KAAA,UAA4D;AAEvF,qGAAqG;AACrG,wBAAgB,aAAa,CAAC,CAAC,KAAA,EAAE,OAAO,KAAA,SAsBvC;AAGD,wBAAgB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe7B;AAED,wBAAgB,WAAW,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA,EAAE,GAAG,MAAY,QAWhD;AAED,eAAO,MAAM,IAAI,uXAYf,CAAC;AAEH,eAAO,MAAM,IAAI,QAmEf,CAAC;AAEH,wBAAgB,cAAc,CAAC,CAAC,KAAA,wBAE/B;AAGD;;;;GAIG;AACH,eAAO,MAAM,OAAO,MAAM,CAAC;AAE3B,wBAAgB,KAAK,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA;;;IAyGlB,2FAA2F;;IAE3F,qFAAqF;;;;IAIrF,yEAAyE;;IAEzE,+EAA+E;;;EAWtF"}
|