├── .README.md ├── .github ├── ISSUE_TEMPLATE │ ├── config.yml │ ├── feature_request.md │ ├── other-issues.md │ └── support.md ├── pull_request_template.md └── workflows │ ├── README.md │ ├── codeowners-validator.yml │ └── update-version-on-release.yml ├── CHANGELOG.md ├── CHANGELOG.md.meta ├── CODEOWNERS ├── CODEOWNERS.meta ├── CODE_OF_CONDUCT.md ├── CODE_OF_CONDUCT.md.meta ├── CONTRIBUTING.md ├── CONTRIBUTING.md.meta ├── Documentation~ ├── api │ ├── Unity.Geospatial.Streaming.CameraData.html │ ├── Unity.Geospatial.Streaming.DecoderMultiplexer.html │ ├── Unity.Geospatial.Streaming.DeferredMaterialFactory.html │ ├── Unity.Geospatial.Streaming.DeferredMaterialFactoryObject.html │ ├── Unity.Geospatial.Streaming.DetailObserverData.GeometricErrorFunction.html │ ├── Unity.Geospatial.Streaming.DetailObserverData.html │ ├── Unity.Geospatial.Streaming.Edge.html │ ├── Unity.Geospatial.Streaming.EdgeCollection.html │ ├── Unity.Geospatial.Streaming.Editor.EcefCoordinateSystemInspector.html │ ├── Unity.Geospatial.Streaming.Editor.EditorGUILayoutWrapper.html │ ├── Unity.Geospatial.Streaming.Editor.GeodeticExtentObjectInspector.html │ ├── Unity.Geospatial.Streaming.Editor.SceneHandleWrapper.html │ ├── Unity.Geospatial.Streaming.Editor.UGCameraBehaviourInspector.html │ ├── Unity.Geospatial.Streaming.Editor.UGExtentModifierBehaviourInspector.html │ ├── Unity.Geospatial.Streaming.Editor.UGMetadataInspector.html │ ├── Unity.Geospatial.Streaming.Editor.UGSystemBehaviourInspector.html │ ├── Unity.Geospatial.Streaming.Editor.Wgs84CoordinateSystemInspector.html │ ├── Unity.Geospatial.Streaming.Editor.html │ ├── Unity.Geospatial.Streaming.EuclideanFlyCamera.html │ ├── Unity.Geospatial.Streaming.EuclideanTR.html │ ├── Unity.Geospatial.Streaming.GOBaseRenderer.html │ ├── Unity.Geospatial.Streaming.GOCompositeRenderer.html │ ├── Unity.Geospatial.Streaming.GOMeshRenderer.html │ ├── Unity.Geospatial.Streaming.GONodeRenderer.html │ ├── Unity.Geospatial.Streaming.GeodeticCoordinates.html │ ├── Unity.Geospatial.Streaming.GeodeticExtent.html │ ├── Unity.Geospatial.Streaming.GeodeticExtentObject.html │ ├── Unity.Geospatial.Streaming.GeodeticTR.html │ ├── Unity.Geospatial.Streaming.GeospatialAssets.html │ ├── Unity.Geospatial.Streaming.GlobalFlyCamera.html │ ├── Unity.Geospatial.Streaming.HPTransformExtensions.html │ ├── Unity.Geospatial.Streaming.ITaskManager.html │ ├── Unity.Geospatial.Streaming.IUGObject.html │ ├── Unity.Geospatial.Streaming.IUGRenderer.html │ ├── Unity.Geospatial.Streaming.InstanceCommand.CommandType.html │ ├── Unity.Geospatial.Streaming.InstanceCommand.html │ ├── Unity.Geospatial.Streaming.InstanceData.html │ ├── Unity.Geospatial.Streaming.InstanceID.html │ ├── Unity.Geospatial.Streaming.LocalVerticalCoordinateSystem.html │ ├── Unity.Geospatial.Streaming.MaterialAlphaMode.html │ ├── Unity.Geospatial.Streaming.MaterialID.html │ ├── Unity.Geospatial.Streaming.MaterialLighting.html │ ├── Unity.Geospatial.Streaming.MaterialProperty.html │ ├── Unity.Geospatial.Streaming.MaterialPropertyType.html │ ├── Unity.Geospatial.Streaming.MaterialPropertyValue.html │ ├── Unity.Geospatial.Streaming.MaterialType.html │ ├── Unity.Geospatial.Streaming.MeshData.html │ ├── Unity.Geospatial.Streaming.MeshDataUtil.html │ ├── Unity.Geospatial.Streaming.MeshEditor.html │ ├── Unity.Geospatial.Streaming.MeshID.html │ ├── Unity.Geospatial.Streaming.MetadataKeys.html │ ├── Unity.Geospatial.Streaming.ObserverMultiplexer.Input.html │ ├── Unity.Geospatial.Streaming.ObserverMultiplexer.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.AssetSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.B3dmTableSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.BoundingVolumeSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.ContentSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.ExtensionsSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.IAssetSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.IBoundingVolumeSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.IContentSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.IExtension.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.IExtensionsSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.IPropertiesSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.ITileSchema-1.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.ITileSchema-3.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.ITilesetSchema-7.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.ITilesetSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.Ogc3dTilesDataSource.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.Ogc3dTilesDataSourceObject.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.OgcB3dmUriLoader-2.Reader.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.OgcB3dmUriLoader-2.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.OgcTilesetContentLoader-2.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.PropertiesSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.TileSchema-3.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.TileSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.TilesetSchema-7.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.TilesetSchema.html │ ├── Unity.Geospatial.Streaming.Ogc3dTiles.html │ ├── Unity.Geospatial.Streaming.OneToManyNode-1.html │ ├── Unity.Geospatial.Streaming.RefinementMode.html │ ├── Unity.Geospatial.Streaming.RevertingCommandStack.html │ ├── Unity.Geospatial.Streaming.SerializableMaterialType.html │ ├── Unity.Geospatial.Streaming.SimpleMaterialFactory.DefaultMaterial.html │ ├── Unity.Geospatial.Streaming.SimpleMaterialFactory.html │ ├── Unity.Geospatial.Streaming.SimpleMaterialFactoryObject.DefaultMaterialObject.html │ ├── Unity.Geospatial.Streaming.SimpleMaterialFactoryObject.html │ ├── Unity.Geospatial.Streaming.SystemProcessingEventArgs.html │ ├── Unity.Geospatial.Streaming.TextureData.html │ ├── Unity.Geospatial.Streaming.TextureID.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.ConfigSchema.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.ContentSchema.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.ExtentSchema.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.LimitsSchema.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.Tile.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.TmsTerrainContentLoader.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.TmsTerrainDataSource.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.TmsTerrainDataSourceObject.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.TmsTerrainStreamer.TerrainTile.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.TmsTerrainStreamer.TileType.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.TmsTerrainStreamer.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.TmsTerrainUriLoader.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.UriCollection.html │ ├── Unity.Geospatial.Streaming.TmsTerrain.html │ ├── Unity.Geospatial.Streaming.TriangleCollectionIndex.html │ ├── Unity.Geospatial.Streaming.UGBehaviourPresenter.html │ ├── Unity.Geospatial.Streaming.UGCameraBehaviour.html │ ├── Unity.Geospatial.Streaming.UGCommandBuffer.IListener.html │ ├── Unity.Geospatial.Streaming.UGCommandBuffer.html │ ├── Unity.Geospatial.Streaming.UGCommandBufferProcessor.html │ ├── Unity.Geospatial.Streaming.UGCommonTerrainMaterial.Factory.html │ ├── Unity.Geospatial.Streaming.UGCommonTerrainMaterial.html │ ├── Unity.Geospatial.Streaming.UGDataSource.html │ ├── Unity.Geospatial.Streaming.UGDataSourceDecoder.html │ ├── Unity.Geospatial.Streaming.UGDataSourceID.html │ ├── Unity.Geospatial.Streaming.UGDataSourceObject.html │ ├── Unity.Geospatial.Streaming.UGDeferredMaterial.html │ ├── Unity.Geospatial.Streaming.UGExtentModifier.html │ ├── Unity.Geospatial.Streaming.UGExtentModifierBehaviour.html │ ├── Unity.Geospatial.Streaming.UGInstantiator.html │ ├── Unity.Geospatial.Streaming.UGLighting.html │ ├── Unity.Geospatial.Streaming.UGMaterial.html │ ├── Unity.Geospatial.Streaming.UGMaterialFactory.html │ ├── Unity.Geospatial.Streaming.UGMaterialFactoryObject.html │ ├── Unity.Geospatial.Streaming.UGMetadata.html │ ├── Unity.Geospatial.Streaming.UGMetadataBehaviour.html │ ├── Unity.Geospatial.Streaming.UGModifier.html │ ├── Unity.Geospatial.Streaming.UGModifierBehaviour.html │ ├── Unity.Geospatial.Streaming.UGObjectPool-1.html │ ├── Unity.Geospatial.Streaming.UGOmniObserverBehaviour.html │ ├── Unity.Geospatial.Streaming.UGPresenter.html │ ├── Unity.Geospatial.Streaming.UGProcessingNode.DataAvailability.html │ ├── Unity.Geospatial.Streaming.UGProcessingNode.NodeInput-1.html │ ├── Unity.Geospatial.Streaming.UGProcessingNode.NodeInput.html │ ├── Unity.Geospatial.Streaming.UGProcessingNode.NodeOutput-1.html │ ├── Unity.Geospatial.Streaming.UGProcessingNode.NodeOutput.html │ ├── Unity.Geospatial.Streaming.UGProcessingNode.html │ ├── Unity.Geospatial.Streaming.UGSceneObserver.html │ ├── Unity.Geospatial.Streaming.UGSceneObserverBehaviour.html │ ├── Unity.Geospatial.Streaming.UGShaderPropertiesObject.html │ ├── Unity.Geospatial.Streaming.UGShaderProperty.html │ ├── Unity.Geospatial.Streaming.UGSimpleMaterial.html │ ├── Unity.Geospatial.Streaming.UGSimpleSceneObserver.IImplementation.html │ ├── Unity.Geospatial.Streaming.UGSimpleSceneObserver.html │ ├── Unity.Geospatial.Streaming.UGSkyboxBehaviour.html │ ├── Unity.Geospatial.Streaming.UGSystem.Configuration.html │ ├── Unity.Geospatial.Streaming.UGSystem.StreamingModes.html │ ├── Unity.Geospatial.Streaming.UGSystem.html │ ├── Unity.Geospatial.Streaming.UGSystemBehaviour.PresenterConfiguration.html │ ├── Unity.Geospatial.Streaming.UGSystemBehaviour.html │ ├── Unity.Geospatial.Streaming.UGTextureSettings.html │ ├── Unity.Geospatial.Streaming.UUIDGenerator.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.BoundingVolumeHierarchy-1.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.ContentType.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.CurrentState.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.FileType.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.GltfContentLoader.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.GltfDataSource.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.GltfDataSourceObject.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.GltfUriLoader.AlwaysDeferAgent.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.GltfUriLoader.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.HierarchyContentLoader-2.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.IEditCurrentState.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.IEditHierarchyNodes.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.IExpandingNodeContent.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.IExploreHierarchyNodes.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.IGetNodeData.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.ILeaf.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.ILoaderActions.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.INodeContentLoader.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.INodeContentManager.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.IUriCollection.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.NodeContent.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.NodeContentManager.State.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.NodeContentManager.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.NodeData.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.NodeId.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.PriorityQueue-1.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.SingleUri.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.TargetState.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.UGGltFastInstantiator.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.UGUniversalDecoder.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.UniqueContentTypeGenerator.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.UniversalDecoderDataSource.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.UriLoader.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.UriNodeContent.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.UriNodeContentLoader.html │ ├── Unity.Geospatial.Streaming.UniversalDecoder.html │ ├── Unity.Geospatial.Streaming.VertexInterpolator.html │ ├── Unity.Geospatial.Streaming.Wgs84.html │ ├── Unity.Geospatial.Streaming.html │ ├── index.html │ └── toc.html ├── changelog │ ├── CHANGELOG.html │ └── toc.html ├── favicon.ico ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── index.html ├── index.json ├── license │ ├── LICENSE.html │ ├── index.html │ └── toc.html ├── logo.svg ├── manifest.json ├── manual │ ├── Architecture │ │ ├── material-factory.html │ │ └── universal-decoder.html │ ├── FileFormats │ │ ├── ogc-3d-tiles.html │ │ └── tms.html │ ├── GettingStarted │ │ ├── first-time-setup.html │ │ ├── frequently-asked.html │ │ └── known-limitations.html │ ├── TableOfContents.html │ ├── images │ │ ├── Architecture │ │ │ ├── MaterialFactory.meta │ │ │ ├── MaterialFactory │ │ │ │ ├── ShaderProperties.png │ │ │ │ ├── SimpleMaterialFactoryEmpty.png │ │ │ │ ├── SimpleMaterialFactoryValues.png │ │ │ │ └── SystemMaterialFactory.png │ │ │ └── UniversalDecoder │ │ │ │ ├── Backup.uxf │ │ │ │ ├── CurrentStateController.png │ │ │ │ ├── CurrentStateController.uxf │ │ │ │ ├── ExpansionScheduler.uxf │ │ │ │ ├── Hierarchy.png │ │ │ │ ├── Hierarchy.uxf │ │ │ │ ├── HighLevelClassDiagram.png │ │ │ │ ├── HighLevelClassDiagram.uxf │ │ │ │ ├── TargetStateController.png │ │ │ │ └── TargetStateController.uxf │ │ ├── FileFormats │ │ │ ├── TMS-Ordering.png │ │ │ ├── TMS-Ordering.svg │ │ │ ├── TMS-UTRLayout.png │ │ │ ├── TMS-UTRLayout.svg │ │ │ ├── TerrainExtentExample.PNG │ │ │ └── TerrainExtentExample.svg │ │ ├── GettingStarted │ │ │ ├── BasicUGSystem.png │ │ │ ├── Complete.png │ │ │ ├── DisableFogHDRP.png │ │ │ ├── ExtentExample.png │ │ │ ├── InputSystemSetting.png │ │ │ ├── NewProject.png │ │ │ ├── PackageManager.png │ │ │ ├── ProceduralSkySettings.png │ │ │ ├── SceneHierarchySystem.png │ │ │ └── UnityEarthDataSourceSettings.png │ │ ├── Makefile │ │ └── config.txt │ ├── index.html │ └── toc.html ├── search-stopwords.json ├── styles │ ├── docfx.css │ ├── docfx.js │ ├── docfx.vendor.css │ ├── docfx.vendor.js │ ├── lunr.js │ ├── lunr.min.js │ ├── main.css │ ├── main.js │ ├── search-worker.js │ └── statictoc.docfx.vendor.css ├── toc.html └── xrefmap.yml ├── Editor.meta ├── Editor ├── AssemblyInfo.cs ├── AssemblyInfo.cs.meta ├── Scripts.meta ├── Scripts │ ├── ECEFCoordinateSystemInspector.cs │ ├── ECEFCoordinateSystemInspector.cs.meta │ ├── EditorGUILayoutWrapper.cs │ ├── EditorGUILayoutWrapper.cs.meta │ ├── Modifiers.meta │ ├── Modifiers │ │ ├── GeodeticExtentObjectInspector.cs │ │ ├── GeodeticExtentObjectInspector.cs.meta │ │ ├── UGExtentModifierBehaviourInspector.cs │ │ └── UGExtentModifierBehaviourInspector.cs.meta │ ├── SceneHandleWrapper.cs │ ├── SceneHandleWrapper.cs.meta │ ├── UGCameraBehaviourInspector.cs │ ├── UGCameraBehaviourInspector.cs.meta │ ├── UGMetadataBehaviourInspector.cs │ ├── UGMetadataBehaviourInspector.cs.meta │ ├── UGSystemBehaviourInspector.cs │ ├── UGSystemBehaviourInspector.cs.meta │ ├── WGS84CoordinateSystemInspector.cs │ └── WGS84CoordinateSystemInspector.cs.meta ├── Unity.Geospatial.Streaming.Editor.asmdef └── Unity.Geospatial.Streaming.Editor.asmdef.meta ├── LICENSE.md ├── LICENSE.md.meta ├── Runtime.meta ├── Runtime ├── AssemblyInfo.cs ├── AssemblyInfo.cs.meta ├── Assets.meta ├── Assets │ ├── Materials.meta │ ├── Materials │ │ ├── Lit.meta │ │ ├── Lit │ │ │ ├── Builtin.meta │ │ │ ├── Builtin │ │ │ │ ├── BuiltinLitAlphaTest.mat │ │ │ │ ├── BuiltinLitAlphaTest.mat.meta │ │ │ │ ├── BuiltinLitOpaque.mat │ │ │ │ ├── BuiltinLitOpaque.mat.meta │ │ │ │ ├── BuiltinLitTransparent.mat │ │ │ │ └── BuiltinLitTransparent.mat.meta │ │ │ ├── ShaderGraph.meta │ │ │ └── ShaderGraph │ │ │ │ ├── LitAlphaClip.mat │ │ │ │ ├── LitAlphaClip.mat.meta │ │ │ │ ├── LitOpaque.mat │ │ │ │ ├── LitOpaque.mat.meta │ │ │ │ ├── LitTransparent.mat │ │ │ │ └── LitTransparent.mat.meta │ │ ├── Skybox.meta │ │ ├── Skybox │ │ │ ├── M_SphericalSkybox.mat │ │ │ └── M_SphericalSkybox.mat.meta │ │ ├── Unlit.meta │ │ └── Unlit │ │ │ ├── Builtin.meta │ │ │ ├── Builtin │ │ │ ├── BuiltinUnlitAlphaTest.mat │ │ │ ├── BuiltinUnlitAlphaTest.mat.meta │ │ │ ├── BuiltinUnlitOpaque.mat │ │ │ ├── BuiltinUnlitOpaque.mat.meta │ │ │ ├── BuiltinUnlitTransparent.mat │ │ │ └── BuiltinUnlitTransparent.mat.meta │ │ │ ├── ShaderGraph.meta │ │ │ └── ShaderGraph │ │ │ ├── UnlitAlphaClip.mat │ │ │ ├── UnlitAlphaClip.mat.meta │ │ │ ├── UnlitOpaque.mat │ │ │ ├── UnlitOpaque.mat.meta │ │ │ ├── UnlitTransparent.mat │ │ │ └── UnlitTransparent.mat.meta │ ├── Rendering.meta │ ├── Rendering │ │ ├── Builtin Material Factory.asset │ │ ├── Builtin Material Factory.asset.meta │ │ ├── Deferred Material Factory.asset │ │ ├── Deferred Material Factory.asset.meta │ │ ├── HRDP Material Factory.asset │ │ ├── HRDP Material Factory.asset.meta │ │ ├── URP Material Factory.asset │ │ └── URP Material Factory.asset.meta │ ├── ShaderProperties.meta │ └── ShaderProperties │ │ ├── Builtin Shader Properties.asset │ │ ├── Builtin Shader Properties.asset.meta │ │ ├── HDRP Shader Properties.asset │ │ ├── HDRP Shader Properties.asset.meta │ │ ├── URP Shader Properties.asset │ │ └── URP Shader Properties.asset.meta ├── Scripts.meta ├── Scripts │ ├── Behaviours.meta │ ├── Behaviours │ │ ├── EuclideanFlyCamera.cs │ │ ├── EuclideanFlyCamera.cs.meta │ │ ├── GeodeticExtentObject.cs │ │ ├── GeodeticExtentObject.cs.meta │ │ ├── GlobalFlyCamera.cs │ │ ├── GlobalFlyCamera.cs.meta │ │ ├── LocalVerticalCoordinateSystem.cs │ │ ├── LocalVerticalCoordinateSystem.cs.meta │ │ ├── UGCameraBehaviour.cs │ │ ├── UGCameraBehaviour.cs.meta │ │ ├── UGExtentModifierBehaviour.cs │ │ ├── UGExtentModifierBehaviour.cs.meta │ │ ├── UGMetadataBehaviour.cs │ │ ├── UGMetadataBehaviour.cs.meta │ │ ├── UGModifierBehaviour.cs │ │ ├── UGModifierBehaviour.cs.meta │ │ ├── UGOmniObserverBehaviour.cs │ │ ├── UGOmniObserverBehaviour.cs.meta │ │ ├── UGSceneObserverBehaviour.cs │ │ ├── UGSceneObserverBehaviour.cs.meta │ │ ├── UGSkyboxBehaviour.cs │ │ ├── UGSkyboxBehaviour.cs.meta │ │ ├── UGSystemBehaviour.cs │ │ └── UGSystemBehaviour.cs.meta │ ├── Core.meta │ ├── Core │ │ ├── GeospatialAssets.cs │ │ ├── GeospatialAssets.cs.meta │ │ ├── IUGObject.cs │ │ ├── IUGObject.cs.meta │ │ ├── UGCommandBuffer.cs │ │ ├── UGCommandBuffer.cs.meta │ │ ├── UGCommandBufferProcessor.cs │ │ ├── UGCommandBufferProcessor.cs.meta │ │ ├── UGDataSource.cs │ │ ├── UGDataSource.cs.meta │ │ ├── UGDataSourceObject.cs │ │ ├── UGDataSourceObject.cs.meta │ │ ├── UGMath.cs │ │ ├── UGMath.cs.meta │ │ ├── UGObjectPool.cs │ │ ├── UGObjectPool.cs.meta │ │ ├── UGSystem.cs │ │ ├── UGSystem.cs.meta │ │ ├── UUIDGenerator.cs │ │ └── UUIDGenerator.cs.meta │ ├── DataTypes.meta │ ├── DataTypes │ │ ├── CameraData.cs │ │ ├── CameraData.cs.meta │ │ ├── DetailObserverData.cs │ │ ├── DetailObserverData.cs.meta │ │ ├── GeodeticExtent.cs │ │ ├── GeodeticExtent.cs.meta │ │ ├── InstanceCommand.cs │ │ ├── InstanceCommand.cs.meta │ │ ├── InstanceData.cs │ │ ├── InstanceData.cs.meta │ │ ├── InstanceID.cs │ │ ├── InstanceID.cs.meta │ │ ├── MaterialAlphaMode.cs │ │ ├── MaterialAlphaMode.cs.meta │ │ ├── MaterialID.cs │ │ ├── MaterialID.cs.meta │ │ ├── MaterialLighting.cs │ │ ├── MaterialLighting.cs.meta │ │ ├── MaterialProperty.cs │ │ ├── MaterialProperty.cs.meta │ │ ├── MaterialPropertyType.cs │ │ ├── MaterialPropertyType.cs.meta │ │ ├── MaterialPropertyValue.cs │ │ ├── MaterialPropertyValue.cs.meta │ │ ├── MaterialType.cs │ │ ├── MaterialType.cs.meta │ │ ├── MeshData.cs │ │ ├── MeshData.cs.meta │ │ ├── MeshID.cs │ │ ├── MeshID.cs.meta │ │ ├── MetadataKeys.cs │ │ ├── MetadataKeys.cs.meta │ │ ├── SerializableMaterialType.cs │ │ ├── SerializableMaterialType.cs.meta │ │ ├── TextureData.cs │ │ ├── TextureData.cs.meta │ │ ├── TextureID.cs │ │ ├── TextureID.cs.meta │ │ ├── UGDataSourceID.cs │ │ ├── UGDataSourceID.cs.meta │ │ ├── UGLighting.cs │ │ ├── UGLighting.cs.meta │ │ ├── UGMetadata.cs │ │ ├── UGMetadata.cs.meta │ │ ├── UGTextureSettings.cs │ │ └── UGTextureSettings.cs.meta │ ├── Decoder.meta │ ├── Decoder │ │ ├── UniversalDecoder.meta │ │ └── UniversalDecoder │ │ │ ├── ContentLoaders.meta │ │ │ ├── ContentLoaders │ │ │ ├── FileType.cs │ │ │ ├── FileType.cs.meta │ │ │ ├── HierarchyContentLoader.cs │ │ │ ├── HierarchyContentLoader.cs.meta │ │ │ ├── IExpandingNodeContent.cs │ │ │ ├── IExpandingNodeContent.cs.meta │ │ │ ├── ILeaf.cs │ │ │ ├── ILeaf.cs.meta │ │ │ ├── INodeContentLoader.cs │ │ │ ├── INodeContentLoader.cs.meta │ │ │ ├── IUriCollection.cs │ │ │ ├── IUriCollection.cs.meta │ │ │ ├── KhronosGltf.meta │ │ │ ├── KhronosGltf │ │ │ │ ├── GltfContentLoader.cs │ │ │ │ ├── GltfContentLoader.cs.meta │ │ │ │ ├── GltfUriLoader.cs │ │ │ │ ├── GltfUriLoader.cs.meta │ │ │ │ ├── UGGltFastInstantiator.cs │ │ │ │ └── UGGltFastInstantiator.cs.meta │ │ │ ├── Ogc3DTiles.meta │ │ │ ├── Ogc3DTiles │ │ │ │ ├── OgcB3dmUriLoader.cs │ │ │ │ ├── OgcB3dmUriLoader.cs.meta │ │ │ │ ├── OgcTilesetContentLoader.cs │ │ │ │ ├── OgcTilesetContentLoader.cs.meta │ │ │ │ ├── Schema.meta │ │ │ │ └── Schema │ │ │ │ │ ├── B3DM.meta │ │ │ │ │ ├── B3DM │ │ │ │ │ ├── B3dmTableSchema.cs │ │ │ │ │ └── B3dmTableSchema.cs.meta │ │ │ │ │ ├── Default.meta │ │ │ │ │ ├── Default │ │ │ │ │ ├── AssetSchema.cs │ │ │ │ │ ├── AssetSchema.cs.meta │ │ │ │ │ ├── BoundingVolumeSchema.cs │ │ │ │ │ ├── BoundingVolumeSchema.cs.meta │ │ │ │ │ ├── ContentSchema.cs │ │ │ │ │ ├── ContentSchema.cs.meta │ │ │ │ │ ├── ExtensionsSchema.cs │ │ │ │ │ ├── ExtensionsSchema.cs.meta │ │ │ │ │ ├── PropertiesSchema.cs │ │ │ │ │ ├── PropertiesSchema.cs.meta │ │ │ │ │ ├── TileSchema.cs │ │ │ │ │ ├── TileSchema.cs.meta │ │ │ │ │ ├── TilesetSchema.cs │ │ │ │ │ └── TilesetSchema.cs.meta │ │ │ │ │ ├── Interface.meta │ │ │ │ │ └── Interface │ │ │ │ │ ├── IAssetSchema.cs │ │ │ │ │ ├── IAssetSchema.cs.meta │ │ │ │ │ ├── IBoundingVolumeSchema.cs │ │ │ │ │ ├── IBoundingVolumeSchema.cs.meta │ │ │ │ │ ├── IContentSchema.cs │ │ │ │ │ ├── IContentSchema.cs.meta │ │ │ │ │ ├── IExtension.cs │ │ │ │ │ ├── IExtension.cs.meta │ │ │ │ │ ├── IExtensionsSchema.cs │ │ │ │ │ ├── IExtensionsSchema.cs.meta │ │ │ │ │ ├── IPropertiesSchema.cs │ │ │ │ │ ├── IPropertiesSchema.cs.meta │ │ │ │ │ ├── ITileSchema.cs │ │ │ │ │ ├── ITileSchema.cs.meta │ │ │ │ │ ├── ITilesetSchema.cs │ │ │ │ │ └── ITilesetSchema.cs.meta │ │ │ ├── SingleUri.cs │ │ │ ├── SingleUri.cs.meta │ │ │ ├── TmsTerrain.meta │ │ │ ├── TmsTerrain │ │ │ │ ├── Schema.meta │ │ │ │ ├── Schema │ │ │ │ │ ├── ConfigSchema.cs │ │ │ │ │ ├── ConfigSchema.cs.meta │ │ │ │ │ ├── ContentSchema.cs │ │ │ │ │ ├── ContentSchema.cs.meta │ │ │ │ │ ├── ExtentSchema.cs │ │ │ │ │ ├── ExtentSchema.cs.meta │ │ │ │ │ ├── LimitsSchema.cs │ │ │ │ │ ├── LimitsSchema.cs.meta │ │ │ │ │ ├── Tile.cs │ │ │ │ │ └── Tile.cs.meta │ │ │ │ ├── TmsTerrainContentLoader.cs │ │ │ │ ├── TmsTerrainContentLoader.cs.meta │ │ │ │ ├── TmsTerrainStreamer.cs │ │ │ │ ├── TmsTerrainStreamer.cs.meta │ │ │ │ ├── TmsTerrainUriLoader.cs │ │ │ │ ├── TmsTerrainUriLoader.cs.meta │ │ │ │ ├── UriCollection.cs │ │ │ │ └── UriCollection.cs.meta │ │ │ ├── UriLoader.cs │ │ │ ├── UriLoader.cs.meta │ │ │ ├── UriNodeContent.cs │ │ │ ├── UriNodeContent.cs.meta │ │ │ ├── UriNodeContentLoader.cs │ │ │ └── UriNodeContentLoader.cs.meta │ │ │ ├── Core.meta │ │ │ ├── Core │ │ │ ├── BoundingVolumeHierarchy.cs │ │ │ ├── BoundingVolumeHierarchy.cs.meta │ │ │ ├── CurrentStateController.cs │ │ │ ├── CurrentStateController.cs.meta │ │ │ ├── ExpansionScheduler.cs │ │ │ ├── ExpansionScheduler.cs.meta │ │ │ ├── ICurrentStateController.cs │ │ │ ├── ICurrentStateController.cs.meta │ │ │ ├── IEditCurrentState.cs │ │ │ ├── IEditCurrentState.cs.meta │ │ │ ├── IEditHierarchyNodes.cs │ │ │ ├── IEditHierarchyNodes.cs.meta │ │ │ ├── IEditTargetState.cs │ │ │ ├── IEditTargetState.cs.meta │ │ │ ├── IExploreHierarchyNodes.cs │ │ │ ├── IExploreHierarchyNodes.cs.meta │ │ │ ├── IGetNodeData.cs │ │ │ ├── IGetNodeData.cs.meta │ │ │ ├── ILoaderActions.cs │ │ │ ├── ILoaderActions.cs.meta │ │ │ ├── INodeContentManager.cs │ │ │ ├── INodeContentManager.cs.meta │ │ │ ├── IScheduleNodeChanges.cs │ │ │ ├── IScheduleNodeChanges.cs.meta │ │ │ ├── IndirectionBlock.cs │ │ │ ├── IndirectionBlock.cs.meta │ │ │ ├── NodeContentManager.cs │ │ │ ├── NodeContentManager.cs.meta │ │ │ ├── TargetStateController.cs │ │ │ └── TargetStateController.cs.meta │ │ │ ├── DataSources.meta │ │ │ ├── DataSources │ │ │ ├── GltfDataSource.cs │ │ │ ├── GltfDataSource.cs.meta │ │ │ ├── GltfDataSourceObject.cs │ │ │ ├── GltfDataSourceObject.cs.meta │ │ │ ├── Ogc3dTilesDataSource.cs │ │ │ ├── Ogc3dTilesDataSource.cs.meta │ │ │ ├── Ogc3dTilesDataSourceObject.cs │ │ │ ├── Ogc3dTilesDataSourceObject.cs.meta │ │ │ ├── TmsTerrainDataSource.cs │ │ │ ├── TmsTerrainDataSource.cs.meta │ │ │ ├── TmsTerrainDataSourceObject.cs │ │ │ ├── TmsTerrainDataSourceObject.cs.meta │ │ │ ├── UniversalDecoderDataSource.cs │ │ │ └── UniversalDecoderDataSource.cs.meta │ │ │ ├── DataTypes.meta │ │ │ ├── DataTypes │ │ │ ├── ContentType.cs │ │ │ ├── ContentType.cs.meta │ │ │ ├── CurrentState.cs │ │ │ ├── CurrentState.cs.meta │ │ │ ├── Node.cs │ │ │ ├── Node.cs.meta │ │ │ ├── NodeContent.cs │ │ │ ├── NodeContent.cs.meta │ │ │ ├── NodeData.cs │ │ │ ├── NodeData.cs.meta │ │ │ ├── NodeId.cs │ │ │ ├── NodeId.cs.meta │ │ │ ├── RefinementMode.cs │ │ │ ├── RefinementMode.cs.meta │ │ │ ├── SystemProcessingEventArgs.cs │ │ │ ├── SystemProcessingEventArgs.cs.meta │ │ │ ├── TargetState.cs │ │ │ └── TargetState.cs.meta │ │ │ ├── UGUniversalDecoder.cs │ │ │ ├── UGUniversalDecoder.cs.meta │ │ │ ├── Utilities.meta │ │ │ └── Utilities │ │ │ ├── PathUtility.cs │ │ │ ├── PathUtility.cs.meta │ │ │ ├── PriorityQueue.cs │ │ │ ├── PriorityQueue.cs.meta │ │ │ ├── RevertingCommandStack.cs │ │ │ ├── RevertingCommandStack.cs.meta │ │ │ ├── UniqueContentTypeGenerator.cs │ │ │ └── UniqueContentTypeGenerator.cs.meta │ ├── Geospatial.meta │ ├── Geospatial │ │ ├── EuclideanTR.cs │ │ ├── EuclideanTR.cs.meta │ │ ├── GeodeticCoordinates.cs │ │ ├── GeodeticCoordinates.cs.meta │ │ ├── GeodeticTR.cs │ │ ├── GeodeticTR.cs.meta │ │ ├── HPTransformExtensions.cs │ │ ├── HPTransformExtensions.cs.meta │ │ ├── TrigonometricRatios.cs │ │ ├── TrigonometricRatios.cs.meta │ │ ├── WGS84.cs │ │ └── WGS84.cs.meta │ ├── MeshEditing.meta │ ├── MeshEditing │ │ ├── Edge.cs │ │ ├── Edge.cs.meta │ │ ├── MeshEditor.cs │ │ ├── MeshEditor.cs.meta │ │ ├── TriangleCollectionIndex.cs │ │ ├── TriangleCollectionIndex.cs.meta │ │ ├── VertexInterpolator.cs │ │ └── VertexInterpolator.cs.meta │ ├── ProcessGraph.meta │ ├── ProcessGraph │ │ ├── Definitions.meta │ │ ├── Definitions │ │ │ ├── UGDataSourceDecoder.cs │ │ │ ├── UGDataSourceDecoder.cs.meta │ │ │ ├── UGModifier.cs │ │ │ ├── UGModifier.cs.meta │ │ │ ├── UGPresenter.cs │ │ │ ├── UGPresenter.cs.meta │ │ │ ├── UGSceneObserver.cs │ │ │ └── UGSceneObserver.cs.meta │ │ ├── IExecutableTaskManager.cs │ │ ├── IExecutableTaskManager.cs.meta │ │ ├── ITaskManager.cs │ │ ├── ITaskManager.cs.meta │ │ ├── Implementations.meta │ │ ├── Implementations │ │ │ ├── DecoderMultiplexer.cs │ │ │ ├── DecoderMultiplexer.cs.meta │ │ │ ├── ObserverMultiplexer.cs │ │ │ ├── ObserverMultiplexer.cs.meta │ │ │ ├── OneToManyNode.cs │ │ │ ├── OneToManyNode.cs.meta │ │ │ ├── UGBehaviourPresenter.cs │ │ │ ├── UGBehaviourPresenter.cs.meta │ │ │ ├── UGExtentModifier.cs │ │ │ ├── UGExtentModifier.cs.meta │ │ │ ├── UGInstantiator.cs │ │ │ ├── UGInstantiator.cs.meta │ │ │ ├── UGSimpleSceneObserver.cs │ │ │ └── UGSimpleSceneObserver.cs.meta │ │ ├── MainThreadTaskManager.cs │ │ ├── MainThreadTaskManager.cs.meta │ │ ├── ThreadPoolTaskManager.cs │ │ ├── ThreadPoolTaskManager.cs.meta │ │ ├── UGProcessingNode.cs │ │ ├── UGProcessingNode.cs.meta │ │ ├── UGSynchronizationContext.cs │ │ └── UGSynchronizationContext.cs.meta │ ├── Rendering.meta │ └── Rendering │ │ ├── DeferredMaterialFactory.meta │ │ ├── DeferredMaterialFactory │ │ ├── DeferredMaterialFactory.cs │ │ ├── DeferredMaterialFactory.cs.meta │ │ ├── DeferredMaterialFactoryObject.cs │ │ └── DeferredMaterialFactoryObject.cs.meta │ │ ├── SceneAbstraction.meta │ │ ├── SceneAbstraction │ │ ├── GOBaseRenderer.cs │ │ ├── GOBaseRenderer.cs.meta │ │ ├── GOCompositeRenderer.cs │ │ ├── GOCompositeRenderer.cs.meta │ │ ├── GOMeshRenderer.cs │ │ ├── GOMeshRenderer.cs.meta │ │ ├── GONodeRenderer.cs │ │ ├── GONodeRenderer.cs.meta │ │ ├── IUGRenderer.cs │ │ └── IUGRenderer.cs.meta │ │ ├── SimpleMaterialFactory.meta │ │ ├── SimpleMaterialFactory │ │ ├── SimpleMaterialFactory.cs │ │ ├── SimpleMaterialFactory.cs.meta │ │ ├── SimpleMaterialFactoryObject.cs │ │ └── SimpleMaterialFactoryObject.cs.meta │ │ ├── UGCommonTerrainMaterial.cs │ │ ├── UGCommonTerrainMaterial.cs.meta │ │ ├── UGDeferredMaterial.cs │ │ ├── UGDeferredMaterial.cs.meta │ │ ├── UGMaterial.cs │ │ ├── UGMaterial.cs.meta │ │ ├── UGMaterialFactory.cs │ │ ├── UGMaterialFactory.cs.meta │ │ ├── UGMaterialFactoryObject.cs │ │ ├── UGMaterialFactoryObject.cs.meta │ │ ├── UGShaderPropertiesObject.cs │ │ ├── UGShaderPropertiesObject.cs.meta │ │ ├── UGShaderProperty.cs │ │ ├── UGShaderProperty.cs.meta │ │ ├── UGSimpleMaterial.cs │ │ └── UGSimpleMaterial.cs.meta ├── Shaders.meta ├── Shaders │ ├── Builtin.meta │ ├── Builtin │ │ ├── BuiltinLitAlphaTest.shader │ │ ├── BuiltinLitAlphaTest.shader.meta │ │ ├── BuiltinLitOpaque.shader │ │ ├── BuiltinLitOpaque.shader.meta │ │ ├── BuiltinLitTransparent.shader │ │ ├── BuiltinLitTransparent.shader.meta │ │ ├── BuiltinUnlitAlphaTest.shader │ │ ├── BuiltinUnlitAlphaTest.shader.meta │ │ ├── BuiltinUnlitOpaque.shader │ │ ├── BuiltinUnlitOpaque.shader.meta │ │ ├── BuiltinUnlitTerrain.shader │ │ ├── BuiltinUnlitTerrain.shader.meta │ │ ├── BuiltinUnlitTransparent.shader │ │ └── BuiltinUnlitTransparent.shader.meta │ ├── Common.meta │ ├── Common │ │ ├── LitTerrainBase.shadergraph │ │ ├── LitTerrainBase.shadergraph.meta │ │ ├── LitTerrainOverlay.shadergraph │ │ ├── LitTerrainOverlay.shadergraph.meta │ │ ├── SphericalSkybox.shader │ │ ├── SphericalSkybox.shader.meta │ │ ├── TerrainMaskNode.hlsl │ │ ├── TerrainMaskNode.hlsl.meta │ │ ├── TerrainMaskNode.shadersubgraph │ │ ├── TerrainMaskNode.shadersubgraph.meta │ │ ├── UnlitTerrainBase.shadergraph │ │ ├── UnlitTerrainBase.shadergraph.meta │ │ ├── UnlitTerrainOverlay.shadergraph │ │ └── UnlitTerrainOverlay.shadergraph.meta │ ├── ShaderGraphs.meta │ └── ShaderGraphs │ │ ├── Lit.shadergraph │ │ ├── Lit.shadergraph.meta │ │ ├── SubGraphs.meta │ │ ├── SubGraphs │ │ ├── BaseColor.shadersubgraph │ │ ├── BaseColor.shadersubgraph.meta │ │ ├── TextureTransform.shadersubgraph │ │ └── TextureTransform.shadersubgraph.meta │ │ ├── Unlit.shadergraph │ │ └── Unlit.shadergraph.meta ├── Unity.Geospatial.Streaming.asmdef └── Unity.Geospatial.Streaming.asmdef.meta ├── catalog-info.txt ├── catalog-info.txt.meta ├── package.json └── package.json.meta /.README.md: -------------------------------------------------------------------------------- 1 | # GIS Streaming Framework 2 | 3 | The GIS Streaming Framework allows Unity to stream geospatial data 4 | into its runtime. For more information on the package, please see 5 | the full html documentation located in the Documentation~ folder. 6 | 7 | ## License 8 | * [License](LICENSE.md) 9 | 10 | ## Contributing 11 | 12 | There are many ways in which you can contribute to Streaming Framework. 13 | For more information see our page on [contributions](CONTRIBUTING.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: True 2 | contact_links: 3 | - name: How to Report Bugs 4 | url: https://unity3d.com/unity/qa/bug-reporting 5 | about: Learn how to report a bug using Unity Bug Reporter 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature Request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: stat:awaiting triage, type:feature 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/other-issues.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Other Issues 3 | about: Use this template for any other non-support related issues 4 | title: '' 5 | labels: stat:awaiting triage 6 | assignees: '' 7 | 8 | --- 9 | 10 | This template is for issues not covered by the other issue categories. 11 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/support.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Support 3 | about: Have a question or need help with anything? 4 | title: '' 5 | labels: stat:awaiting triage, type:support 6 | assignees: '' 7 | 8 | --- 9 | 10 | Post your questions or problems here. 11 | -------------------------------------------------------------------------------- /.github/workflows/README.md: -------------------------------------------------------------------------------- 1 | ## GitHub Actions Workflows 2 | 3 | See https://github.cds.internal.unity3d.com/actions for a collection of available actions that you may use in your workflows. 4 | 5 | File PR for https://github.cds.internal.unity3d.com/unity/actions-syncer to sync new actions, but make sure to use them with a pinned hash for security reasons. 6 | -------------------------------------------------------------------------------- /.github/workflows/codeowners-validator.yml: -------------------------------------------------------------------------------- 1 | name: CODEOWNERS validator 2 | on: 3 | workflow_dispatch: 4 | pull_request: 5 | paths: 6 | # we trigger validation on any changes to the CODEOWNERS file 7 | - .github/CODEOWNERS 8 | 9 | jobs: 10 | validate: 11 | runs-on: self-hosted 12 | steps: 13 | - uses: actions/checkout@v2 14 | - uses: actions/codeowners-validator@7f3f5e28c6d7b8dfae5731e54ce2272ca384592f 15 | with: 16 | checks: "syntax,files,duppatterns" 17 | -------------------------------------------------------------------------------- /CHANGELOG.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 384b9d17007500c4f87da7a1c472fb4d 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # see https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners for more information 2 | * @jonathan-debelle @aurora-huang -------------------------------------------------------------------------------- /CODEOWNERS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 535a689dee91c174893e7404a7322ced 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2559613c70f3d4147a4194483935fdd6 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /CONTRIBUTING.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bcca86aa77782ae44af1e1dfe61c084d 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Documentation~/changelog/toc.html: -------------------------------------------------------------------------------- 1 |  2 |
3 |
4 |
5 |
6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 | 14 |
19 |
20 |
21 |
-------------------------------------------------------------------------------- /Documentation~/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/favicon.ico -------------------------------------------------------------------------------- /Documentation~/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Documentation~/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Documentation~/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Documentation~/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Documentation~/license/toc.html: -------------------------------------------------------------------------------- 1 |  2 |
3 |
4 |
5 |
6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 | 14 |
19 |
20 |
21 |
-------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/MaterialFactory.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63f3c5f3363d4f4ca2359d3584c661fa 3 | timeCreated: 1655912638 -------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/MaterialFactory/ShaderProperties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/Architecture/MaterialFactory/ShaderProperties.png -------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/MaterialFactory/SimpleMaterialFactoryEmpty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/Architecture/MaterialFactory/SimpleMaterialFactoryEmpty.png -------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/MaterialFactory/SimpleMaterialFactoryValues.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/Architecture/MaterialFactory/SimpleMaterialFactoryValues.png -------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/MaterialFactory/SystemMaterialFactory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/Architecture/MaterialFactory/SystemMaterialFactory.png -------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/UniversalDecoder/CurrentStateController.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/Architecture/UniversalDecoder/CurrentStateController.png -------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/UniversalDecoder/Hierarchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/Architecture/UniversalDecoder/Hierarchy.png -------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/UniversalDecoder/HighLevelClassDiagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/Architecture/UniversalDecoder/HighLevelClassDiagram.png -------------------------------------------------------------------------------- /Documentation~/manual/images/Architecture/UniversalDecoder/TargetStateController.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/Architecture/UniversalDecoder/TargetStateController.png -------------------------------------------------------------------------------- /Documentation~/manual/images/FileFormats/TMS-Ordering.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/FileFormats/TMS-Ordering.png -------------------------------------------------------------------------------- /Documentation~/manual/images/FileFormats/TMS-UTRLayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/FileFormats/TMS-UTRLayout.png -------------------------------------------------------------------------------- /Documentation~/manual/images/FileFormats/TerrainExtentExample.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/FileFormats/TerrainExtentExample.PNG -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/BasicUGSystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/BasicUGSystem.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/Complete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/Complete.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/DisableFogHDRP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/DisableFogHDRP.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/ExtentExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/ExtentExample.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/InputSystemSetting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/InputSystemSetting.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/NewProject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/NewProject.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/PackageManager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/PackageManager.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/ProceduralSkySettings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/ProceduralSkySettings.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/SceneHierarchySystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/SceneHierarchySystem.png -------------------------------------------------------------------------------- /Documentation~/manual/images/GettingStarted/UnityEarthDataSourceSettings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/manual/images/GettingStarted/UnityEarthDataSourceSettings.png -------------------------------------------------------------------------------- /Documentation~/manual/images/Makefile: -------------------------------------------------------------------------------- 1 | # ----------------------------------------------------------------------------- 2 | # CMake project wrapper Makefile ---------------------------------------------- 3 | # ----------------------------------------------------------------------------- 4 | 5 | SHELL := /bin/bash 6 | RM := rm -rf 7 | MKDIR := mkdir -p 8 | 9 | config = $(shell grep -E '$(1)' config.txt | sed -E 's/.*\s=\s(.*)/\1/') 10 | 11 | 12 | # Configuration Files 13 | umlet := $(call config,UMLET_PATH) 14 | inkscape := "$(call config,INKSCAPE_PATH)" 15 | 16 | 17 | ########################################### 18 | # SECTION:DOCUMENTATION 19 | ########################################### 20 | 21 | 22 | uxf-files := $(shell find $(doc-path) -name *.uxf) 23 | uxf-file-output := $(foreach file, $(uxf-files),$(subst .uxf,.png,$(file))) 24 | svg-files := $(shell find $(doc-path) -name *.svg) 25 | svg-file-output := $(foreach file, $(svg-files),$(subst .svg,.png,$(file))) 26 | 27 | 28 | 29 | .PHONY: images 30 | images: $(uxf-file-output) $(svg-file-output) 31 | 32 | 33 | %.png: %.uxf 34 | $(umlet) -action=convert -format=png -filename=$< -output=$@ 35 | 36 | %.png: %.svg 37 | $(inkscape) --export-type="png" $< 38 | 39 | -------------------------------------------------------------------------------- /Documentation~/manual/images/config.txt: -------------------------------------------------------------------------------- 1 | INKSCAPE_PATH = /C/Program Files/Inkscape/bin/inkscape.exe 2 | UMLET_PATH = java -jar "/c/MProgramFiles/umlet-standalone-14.3.0/Umlet/umlet.jar" 3 | -------------------------------------------------------------------------------- /Documentation~/search-stopwords.json: -------------------------------------------------------------------------------- 1 | [ 2 | "a", 3 | "able", 4 | "about", 5 | "across", 6 | "after", 7 | "all", 8 | "almost", 9 | "also", 10 | "am", 11 | "among", 12 | "an", 13 | "and", 14 | "any", 15 | "are", 16 | "as", 17 | "at", 18 | "be", 19 | "because", 20 | "been", 21 | "but", 22 | "by", 23 | "can", 24 | "cannot", 25 | "could", 26 | "dear", 27 | "did", 28 | "do", 29 | "does", 30 | "either", 31 | "else", 32 | "ever", 33 | "every", 34 | "for", 35 | "from", 36 | "get", 37 | "got", 38 | "had", 39 | "has", 40 | "have", 41 | "he", 42 | "her", 43 | "hers", 44 | "him", 45 | "his", 46 | "how", 47 | "however", 48 | "i", 49 | "if", 50 | "in", 51 | "into", 52 | "is", 53 | "it", 54 | "its", 55 | "just", 56 | "least", 57 | "let", 58 | "like", 59 | "likely", 60 | "may", 61 | "me", 62 | "might", 63 | "most", 64 | "must", 65 | "my", 66 | "neither", 67 | "no", 68 | "nor", 69 | "not", 70 | "of", 71 | "off", 72 | "often", 73 | "on", 74 | "only", 75 | "or", 76 | "other", 77 | "our", 78 | "own", 79 | "rather", 80 | "said", 81 | "say", 82 | "says", 83 | "she", 84 | "should", 85 | "since", 86 | "so", 87 | "some", 88 | "than", 89 | "that", 90 | "the", 91 | "their", 92 | "them", 93 | "then", 94 | "there", 95 | "these", 96 | "they", 97 | "this", 98 | "tis", 99 | "to", 100 | "too", 101 | "twas", 102 | "us", 103 | "wants", 104 | "was", 105 | "we", 106 | "were", 107 | "what", 108 | "when", 109 | "where", 110 | "which", 111 | "while", 112 | "who", 113 | "whom", 114 | "why", 115 | "will", 116 | "with", 117 | "would", 118 | "yet", 119 | "you", 120 | "your" 121 | ] 122 | -------------------------------------------------------------------------------- /Documentation~/styles/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/com.unity.gis.streaming-framework/19673dde8e837d4936411f629f0a53ec750381b9/Documentation~/styles/main.css -------------------------------------------------------------------------------- /Documentation~/styles/main.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information. 2 | -------------------------------------------------------------------------------- /Documentation~/styles/statictoc.docfx.vendor.css: -------------------------------------------------------------------------------- 1 | /* 2 | the statictoc doesn't replace logo.svg with an inline equivalent, due to CORS restriction, 3 | so we need to set the width and height in css instead. 4 | */ 5 | #logo { 6 | width:100%; 7 | height:100%; 8 | } 9 | 10 | /* 11 | Toc elements in the static toc don't word-break when the overflow the containing element 12 | (this should be the default behaviour) so we override the styling 13 | */ 14 | body .toc { 15 | word-break: break-word; 16 | } -------------------------------------------------------------------------------- /Documentation~/toc.html: -------------------------------------------------------------------------------- 1 |  2 |
3 |
4 |
5 |
6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 | 14 |
28 |
29 |
30 |
-------------------------------------------------------------------------------- /Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30086ad35ff41724d8f42bb50d2a49cd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | 2 | using System.Runtime.CompilerServices; 3 | 4 | [assembly: InternalsVisibleTo("Unity.Geospatial.Streaming.Editor.Testing")] 5 | -------------------------------------------------------------------------------- /Editor/AssemblyInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95d18e6ed5ed4fea868638ea24e46f39 3 | timeCreated: 1654084393 -------------------------------------------------------------------------------- /Editor/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc33d58704f38524a883f734dd2d6547 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Scripts/ECEFCoordinateSystemInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7f12146812731d439b5aa486b1b8caa 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Scripts/EditorGUILayoutWrapper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f4f0ee103a847df8ae7b646d0770ddb 3 | timeCreated: 1654013971 -------------------------------------------------------------------------------- /Editor/Scripts/Modifiers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23ca83a94b9fe0d4da60b9892a1ef5c8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Scripts/Modifiers/GeodeticExtentObjectInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f830f727ba717c94fbb2eafcbe28a241 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Scripts/Modifiers/UGExtentModifierBehaviourInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7347354f4cf26784cae69b0cfb60f62f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Scripts/SceneHandleWrapper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b14060f7aeba4bb0966c19f95bae8da1 3 | timeCreated: 1654025561 -------------------------------------------------------------------------------- /Editor/Scripts/UGCameraBehaviourInspector.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | using Unity.Geospatial.HighPrecision; 4 | 5 | namespace Unity.Geospatial.Streaming.Editor 6 | { 7 | /// 8 | /// commands. 9 | /// 10 | public static class UGCameraBehaviourInspector 11 | { 12 | /// 13 | /// Create a new instance under the given parent. 14 | /// 15 | /// Set this GameObject as the parent of the newly created GameObject. 16 | /// The newly created object. 17 | public static GameObject CreateNewUGCamera(GameObject parent) 18 | { 19 | // Create a custom game object 20 | GameObject go = new GameObject("UG Camera"); 21 | go.AddComponent(); 22 | GameObjectUtility.SetParentAndAlign(go, parent); 23 | 24 | Camera camera = go.AddComponent(); 25 | 26 | camera.nearClipPlane = 100.0f; 27 | camera.farClipPlane = 1_000_000_000.0f; 28 | 29 | go.AddComponent(); 30 | 31 | 32 | // Register the creation in the undo system 33 | Undo.RegisterCreatedObjectUndo(go, "Create " + go.name); 34 | Selection.activeObject = go; 35 | 36 | return go; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Editor/Scripts/UGCameraBehaviourInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d13f18bfee136424d8aff31093382056 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Scripts/UGMetadataBehaviourInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d720ce45fab83a4ebcc7175ef3752a9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Scripts/UGSystemBehaviourInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57b39fe6db623e2468d84471d0d70331 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Scripts/WGS84CoordinateSystemInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63e547f848f3a2a4fa65ea33fa22fb0d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Unity.Geospatial.Streaming.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Unity.Geospatial.Streaming.Editor", 3 | "rootNamespace": "Unity.Geospatial.Streaming.Editor", 4 | "references": [ 5 | "Unity.Geospatial.Streaming", 6 | "Unity.Geospatial.HighPrecision.Editor", 7 | "Unity.Geospatial.HighPrecision", 8 | "Unity.Mathematics" 9 | ], 10 | "includePlatforms": [ 11 | "Editor" 12 | ], 13 | "excludePlatforms": [], 14 | "allowUnsafeCode": true, 15 | "overrideReferences": false, 16 | "precompiledReferences": [], 17 | "autoReferenced": true, 18 | "defineConstraints": [], 19 | "versionDefines": [], 20 | "noEngineReferences": false 21 | } -------------------------------------------------------------------------------- /Editor/Unity.Geospatial.Streaming.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: faf95d7c0555c6f4fb6a31766eaf2a45 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Unity Geospatial Streaming copyright © 2022 Unity Technologies ApS 2 | 3 | Licensed under the Unity Companion License for Unity-dependent projects (see [https://unity3d.com/legal/licenses/unity_companion_license](https://unity3d.com/legal/licenses/unity_companion_license)). 4 | 5 | Unless expressly provided otherwise, the Software under this license is made available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions. 6 | -------------------------------------------------------------------------------- /LICENSE.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b93b2fb8c3545540bccde0311843cb8 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58805a025c20bdf4ea3efebdde4d4005 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | 2 | using System.Runtime.CompilerServices; 3 | 4 | [assembly: InternalsVisibleTo("Unity.Geospatial.Streaming.Testing")] 5 | [assembly: InternalsVisibleTo("Unity.Geospatial.Streaming.Editor.Testing")] 6 | [assembly: InternalsVisibleTo("Unity.Geospatial.Streaming.Testing.Graphic")] 7 | -------------------------------------------------------------------------------- /Runtime/AssemblyInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f3a6bcfbc344b3c9c9d17bdd4e31289 3 | timeCreated: 1647462282 -------------------------------------------------------------------------------- /Runtime/Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: feb5e84fdbfd15c489af57a98d4401fe 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dfe661d0bf138040bd3338cca0da7a9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bc99033e3d25f442aa05b3a9417ee6d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit/Builtin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7ed157f8f93d56439e8ce3dfc9fdc12 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit/Builtin/BuiltinLitAlphaTest.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fda7a09682e92c4d8e50d74eb0400a4 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit/Builtin/BuiltinLitOpaque.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5186b2ed8cae97a4d84b5068d23b43db 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit/Builtin/BuiltinLitTransparent.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c75a77a98e3f95d4a92cd839fb8a846e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit/ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a60449d5dd9268f429eccf06bb73d1ca 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit/ShaderGraph/LitAlphaClip.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8440657f2bfa2c24f84887ff9ab1f582 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit/ShaderGraph/LitOpaque.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e314506381711da4b8535994dab70b51 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Lit/ShaderGraph/LitTransparent.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26ba7fc04a709a442b3bb55d68fa2f78 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Skybox.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 861159017c81d9047a409ca395b26a31 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Skybox/M_SphericalSkybox.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ad26f7af37d0f74bb9b2a63f714e443 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 490d0be3adb40104e858da0528f4a18d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit/Builtin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5569708522848a4e8b65622880e80f0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit/Builtin/BuiltinUnlitAlphaTest.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f28ea33dc76f1c94683eb91791800e20 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit/Builtin/BuiltinUnlitOpaque.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7dce7d7acbdd9547b0c8dad8f0cf949 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit/Builtin/BuiltinUnlitTransparent.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1520a21eb1fcf8a4995dbca36cfd315f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit/ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9ddf4bd6ab202c448fd7aa3cd0a318c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit/ShaderGraph/UnlitAlphaClip.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0579c470f1901004c9db51fd7d8754d0 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit/ShaderGraph/UnlitOpaque.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01efd5329a46cf543a34c32b9ce4e77f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Materials/Unlit/ShaderGraph/UnlitTransparent.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23ab0597f6052e64ba7f10f31c18c1c1 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Rendering.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 744077f45eb710c4e94397203e5b98dc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Rendering/Builtin Material Factory.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d995d7c41773bd8458b3aa5d4c27c300 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Rendering/Deferred Material Factory.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c950f47a93df8864481009032ae73346, type: 3} 13 | m_Name: Deferred Material Factory 14 | m_EditorClassIdentifier: 15 | RequiredShaders: [] 16 | -------------------------------------------------------------------------------- /Runtime/Assets/Rendering/Deferred Material Factory.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83d0458cf8d11424f9ee5aa4850c11d7 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Rendering/HRDP Material Factory.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e3cedafdf5610f49a8941c05be86b07 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/Rendering/URP Material Factory.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f8b4dc2d6e1edd4daeb0ed88318ee79 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/ShaderProperties.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 340715e718c82b140bd48067d95a210b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/ShaderProperties/Builtin Shader Properties.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 9dec31f5ecf3d324b954f84f79ab3d50, type: 3} 13 | m_Name: Builtin Shader Properties 14 | m_EditorClassIdentifier: 15 | PropertyList: 16 | - Type: 1 17 | Name: _Color 18 | TextureScaleTiling: 19 | - Type: 0 20 | Name: _MainTex 21 | TextureScaleTiling: _MainTex_ST 22 | - Type: 2 23 | Name: _Glossiness 24 | TextureScaleTiling: 25 | - Type: 3 26 | Name: _Cutoff 27 | TextureScaleTiling: 28 | -------------------------------------------------------------------------------- /Runtime/Assets/ShaderProperties/Builtin Shader Properties.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2691068933d56c45b0a72c2b10793a5 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/ShaderProperties/HDRP Shader Properties.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 9dec31f5ecf3d324b954f84f79ab3d50, type: 3} 13 | m_Name: HDRP Shader Properties 14 | m_EditorClassIdentifier: 15 | PropertyList: 16 | - Type: 1 17 | Name: _BaseColor 18 | TextureScaleTiling: 19 | - Type: 0 20 | Name: _BaseMap 21 | TextureScaleTiling: _BaseMap_ST 22 | - Type: 2 23 | Name: _Smoothness 24 | TextureScaleTiling: 25 | - Type: 3 26 | Name: _AlphaCutoff 27 | TextureScaleTiling: 28 | -------------------------------------------------------------------------------- /Runtime/Assets/ShaderProperties/HDRP Shader Properties.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3400fb5df1d80b04a8769fc0e8611a11 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Assets/ShaderProperties/URP Shader Properties.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 9dec31f5ecf3d324b954f84f79ab3d50, type: 3} 13 | m_Name: URP Shader Properties 14 | m_EditorClassIdentifier: 15 | PropertyList: 16 | - Type: 1 17 | Name: _BaseColor 18 | TextureScaleTiling: 19 | - Type: 0 20 | Name: _BaseMap 21 | TextureScaleTiling: _BaseMap_ST 22 | - Type: 2 23 | Name: _Smoothness 24 | TextureScaleTiling: 25 | - Type: 3 26 | Name: _AlphaCutoff 27 | TextureScaleTiling: 28 | -------------------------------------------------------------------------------- /Runtime/Assets/ShaderProperties/URP Shader Properties.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37b171898aa928b43b12fe8aff0f75ae 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b0f7f0919d5eec478cda93d37493926 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22d63935443cfe54d89f2ee41adb43f0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/EuclideanFlyCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 735a66869becc7749b2dc3176784318f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/GeodeticExtentObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using UnityEngine; 5 | using Unity.Mathematics; 6 | 7 | namespace Unity.Geospatial.Streaming 8 | { 9 | /// 10 | /// ScriptableObject of a allowing the user to define a region polygon using geodetic coordinates (latitude / longitude). 11 | /// to be loaded. 12 | /// 13 | [CreateAssetMenu(fileName = "GeodeticExtent", menuName = "Geospatial/Data Types/Geodetic Extent", order = UGDataSourceObject.AssetMenuOrder)] 14 | public class GeodeticExtentObject : ScriptableObject 15 | { 16 | /// 17 | /// Returns the list of points that the extent is comprised of. 18 | /// These are guaranteed to be clockwise. 19 | /// 20 | public List Points; 21 | 22 | /// 23 | /// Create a new instance representing this ScriptableObject. 24 | /// 25 | /// The newly created instance. 26 | /// 27 | /// If the did not pass the Validation. 28 | /// 29 | public GeodeticExtent Instantiate() 30 | { 31 | GeodeticExtent result = new GeodeticExtent(Points); 32 | 33 | if (!result.IsValid) 34 | throw new InvalidOperationException("Geodetic extent is invalid"); 35 | 36 | return result; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/GeodeticExtentObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dfaeec741744b34dbf66010da956a9a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/GlobalFlyCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f49e76aaad07ab142b23f2720d469a24 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/LocalVerticalCoordinateSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58da539bd070c58478bdc5353eaea527 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGCameraBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2872a3e6392abcc469b363a1f675e0df 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGExtentModifierBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8813954c3af81b54ea542c2a0c52d91d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGMetadataBehaviour.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// The UGMetadataBehaviour is a class designed to wrap the UGMetadata 7 | /// object and expose it to the GameObject workflow. 8 | /// 9 | public class UGMetadataBehaviour : MonoBehaviour 10 | { 11 | /// 12 | /// The Metadata of the given GameObject. If no metadata is present, 13 | /// this value can be null. 14 | /// 15 | public UGMetadata Metadata { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGMetadataBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43a68cb6acc45fb4998ff4cbb7e401c2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGModifierBehaviour.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Abstract class allowing to a . 7 | /// 8 | public abstract class UGModifierBehaviour : MonoBehaviour 9 | { 10 | /// 11 | /// Create a new instance representing this . 12 | /// 13 | /// The newly created instance. 14 | public abstract UGModifier Instantiate(); 15 | 16 | /// 17 | /// Modifier validation method against a given UGSystem 18 | /// 19 | /// 20 | /// A UGSystem that currently uses this UGModifier 21 | /// 22 | /// 23 | /// When this method returns, outputs a validation error message if there is any error, otherwise outputs an empty string 24 | /// 25 | /// Return false if there is any validation error, otherwise return true 26 | public virtual bool Validate(UGSystemBehaviour system, out string errorMsg) 27 | { 28 | errorMsg = string.Empty; 29 | return true; 30 | } 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGModifierBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57930d098b496d747baea687fbdf609e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGOmniObserverBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db4d174ae73784745846fa1d88a70a26 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGSceneObserverBehaviour.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Base class to a . 7 | /// Scene observer tells the which geometry must be loaded at which resolution by calculating 8 | /// the error specification based on the space it takes in the field of view of the 9 | /// . 10 | /// 11 | public abstract class UGSceneObserverBehaviour : MonoBehaviour 12 | { 13 | /// 14 | /// Create a new of this camera and link it with the given system . 15 | /// 16 | /// Create the instance under this parent node. 17 | /// The instantiated observer. 18 | public abstract UGSceneObserver Instantiate(UGSystemBehaviour ugSystem); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGSceneObserverBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2859f41e938a0e49af098bcebdaf713 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGSkyboxBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b32f6fd0ae346149bf6663f021adf37 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Behaviours/UGSystemBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66c6eef246dafa24b81a387aa414b8a2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 489f89835267f5748bce81e402826fbf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/GeospatialAssets.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// List of GUIDs allowing to load assets without hardcoded paths by using 6 | /// AssetDatabase.GUIDToAssetPath 7 | /// 8 | public static class GeospatialAssets 9 | { 10 | /// 11 | /// Round atmospheric skybox used by . 12 | /// 13 | public const string SphericalSkybox = "3ad26f7af37d0f74bb9b2a63f714e443"; 14 | 15 | /// 16 | /// High Definition Render Pipeline material factory to be set at . 17 | /// 18 | public const string HDRPMaterialFactory = "6e3cedafdf5610f49a8941c05be86b07"; 19 | 20 | /// 21 | /// Universal Render Pipeline material factory to be set at . 22 | /// 23 | public const string URPMaterialFactory = "7f8b4dc2d6e1edd4daeb0ed88318ee79"; 24 | 25 | /// 26 | /// Built-in material factory to be set at . 27 | /// 28 | public const string BuiltinMaterialFactory = "d995d7c41773bd8458b3aa5d4c27c300"; 29 | 30 | /// 31 | /// Deffered material factory to be set at . 32 | /// 33 | public const string DeferredMaterialFactory = "83d0458cf8d11424f9ee5aa4850c11d7"; 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/GeospatialAssets.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f40c6fe7b1503504090d565821137419 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/IUGObject.cs: -------------------------------------------------------------------------------- 1 | namespace Unity.Geospatial.Streaming 2 | { 3 | /// 4 | /// Interface used by the allowing indexing of the created objects. 5 | /// 6 | public interface IUGObject 7 | { 8 | /// 9 | /// if the object is disposed and cannot be used; 10 | /// otherwise. 11 | /// 12 | public bool Disposed { get; set; } 13 | 14 | /// 15 | /// Index value of the instance allowing faster retrieval within . 16 | /// 17 | public int Index { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/IUGObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcfafa3d4c5c4741a07cf7c0a61d89be 3 | timeCreated: 1653072856 -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGCommandBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ce7bb53e80c7684bbc0863aed353d31 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGCommandBufferProcessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1262a841c96b63f4a85c672513e9862d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGDataSource.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5335ec40a574106478a7bcecd834313b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGDataSourceObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Base class that defines an ScriptableObject 7 | /// available to be loaded. This can be a single file, a collection of files, a stream, a connection to a server 8 | /// data set or any other ways to access data. 9 | /// 10 | public abstract class UGDataSourceObject : ScriptableObject 11 | { 12 | /// 13 | /// The position of the menu item within the Assets/Create menu. 14 | /// 15 | internal const int AssetMenuOrder = 100; 16 | 17 | /// 18 | /// Scriptable object associated with this instance. 19 | /// 20 | public abstract UGDataSourceID DataSourceID { get; } 21 | 22 | /// 23 | /// Instantiates the underlying UGDataSource object. For most use-cases, this should 24 | /// only be called by the UGSystemBehaviour. 25 | /// 26 | /// Instantiate the as child of this . 27 | /// The newly instantiated . 28 | public abstract UGDataSource Instantiate(UGSystemBehaviour system); 29 | 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGDataSourceObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44e489a0deab46f45b9e57caa5046af8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGMath.cs: -------------------------------------------------------------------------------- 1 | 2 | using Unity.Mathematics; 3 | 4 | namespace Unity.Geospatial.Streaming 5 | { 6 | internal static class UGMath 7 | { 8 | internal static bool ValidTRS(double4x4 matrix) 9 | { 10 | return matrix.c0.w == 0 && matrix.c1.w == 0 && matrix.c2.w == 0 && math.abs(matrix.c3.w) == 1; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGMath.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33b27f56daab42a6b1cc996d0e280ae6 3 | timeCreated: 1643894174 -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGObjectPool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3619c4eefc3d004db67bbb7f27e3c2c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UGSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab54b49d3578af64c8af3256cbd39737 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Core/UUIDGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4acc4a1e6f829344af19e73ba6fbbfa 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d992392acfddfd74099b7e7b9d153aec 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/CameraData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd098890ed42f2147961e1dcd24d5bd3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/DetailObserverData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2849cd6482272014e9e2540c073479c6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/GeodeticExtent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8873e5eaf126034db2c8ace73090556 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/InstanceCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 588a2ac35884cd94a8d7fe5d6df9b4d1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/InstanceData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f27f06e03947cc24c840ed9b666748fd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/InstanceID.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2808da383d05f0642a2bb54625bd3011 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialAlphaMode.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// Specify how decode Materials 6 | /// with transparency directives. 7 | /// 8 | public enum MaterialAlphaMode 9 | { 10 | /// 11 | /// Skip the transparency evaluation and consider the object to be opaque. 12 | /// 13 | Opaque, 14 | 15 | /// 16 | /// Use the transparency 17 | /// when evaluating the opacity. 18 | /// 19 | Transparent, 20 | 21 | /// 22 | /// Use alpha clipping 23 | /// when evaluating the opacity. 24 | /// 25 | AlphaClip 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialAlphaMode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36a076eae0362854992b9ced045df5ca 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialID.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cc9daabd6f0b0e4898ad37bd7b23764 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialLighting.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// Specify whether or not the material 6 | /// will be affected by the scene lighting or not. 7 | /// 8 | public enum MaterialLighting 9 | { 10 | /// 11 | /// The material will receive light. 12 | /// 13 | Lit, 14 | 15 | /// 16 | /// The material will not receive light 17 | /// and will keep a constant look. 18 | /// 19 | Unlit 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialLighting.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 791364b7f5059e844a855634e98db125 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a2deee6d7cbde642843c4a4786aba9e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialPropertyType.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// Specify how a property affects the 6 | /// material. 7 | /// 8 | public enum MaterialPropertyType 9 | { 10 | /// 11 | /// Apply a texture to the 12 | /// albedo channel. 13 | /// 14 | AlbedoTexture, 15 | 16 | /// 17 | /// Set the albedo color. 18 | /// 19 | AlbedoColor, 20 | 21 | /// 22 | /// Specify the smoothness 23 | /// of the surface. 24 | /// 25 | Smoothness, 26 | 27 | /// 28 | /// Set the transparency depending on which is set. 29 | /// 30 | AlphaCutoff, 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialPropertyType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a64e7077088491e9f87c0afe336b772 3 | timeCreated: 1645637196 -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialPropertyValue.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// Specify which elements of the to apply 6 | /// on the material. 7 | /// 8 | public enum MaterialPropertyValue 9 | { 10 | /// 11 | /// The should be applied. 12 | /// 13 | Float, 14 | 15 | /// 16 | /// The should be applied. 17 | /// 18 | Vector4, 19 | 20 | /// 21 | /// The should be applied. 22 | /// 23 | Color, 24 | 25 | /// 26 | /// The should be applied. 27 | /// 28 | Texture, 29 | 30 | /// 31 | /// Apply a multi-textured terrains. 32 | /// 33 | TerrainTexture 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialPropertyValue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c4061c52f314da1a910a9a023332313 3 | timeCreated: 1645637216 -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MaterialType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcefcaf0b4eacd14893a50de63dd0f2f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MeshData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c0c952387e34d2459e160515efbd70c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MeshID.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4177e767e83c700488e25b1fb5aefb7b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MetadataKeys.cs: -------------------------------------------------------------------------------- 1 | namespace Unity.Geospatial.Streaming 2 | { 3 | /// 4 | /// Keys to be used when storing values in the as 5 | /// KeyValuePair. 6 | /// 7 | public static class MetadataKeys 8 | { 9 | /// 10 | /// Key used when storing a DoubleBounds value in a instance. 11 | /// 12 | public const string Bounds = "com.unity.geospatial.bounds"; 13 | 14 | /// 15 | /// Key used when storing a 16 | /// in a instance. 17 | /// 18 | public const string NodeId = "com.unity.geospatial.nodeid"; 19 | 20 | /// 21 | /// Key used when storing a value 22 | /// in a instance. 23 | /// 24 | public const string GeometricError = "com.unity.geospatial.geometricerror"; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/MetadataKeys.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5a67dda82c0c3c4693861b627ce58a7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/SerializableMaterialType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd0e21205a74e7b4ca9a5967026ff946 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/TextureData.cs: -------------------------------------------------------------------------------- 1 | namespace Unity.Geospatial.Streaming 2 | { 3 | /// 4 | /// Use this when reading data that needs to be loaded 5 | /// as a Texture2D. 6 | /// This is used to pass an image information to the 7 | /// to be converted to a Unity Texture2D. 8 | /// Unlike the UnityEngine.Texture2D class, 9 | /// this struct can be populated off of the main thread. 10 | /// 11 | public struct TextureData 12 | { 13 | /// 14 | /// Width of the Texture at full resolution in pixels. 15 | /// 16 | public int width; 17 | 18 | /// 19 | /// Height of the Texture at full resolution in pixels. 20 | /// 21 | public int height; 22 | 23 | /// 24 | /// Raw data array to initialize texture pixels with. 25 | /// 26 | public byte[] data; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/TextureData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f15028e3ad255446bfc1624bf394a7a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/TextureID.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f6d7ba3e51361b40a738a1038ea5e57 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/UGDataSourceID.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05b3d027a0a37d74dbbf0108f20a3f0f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/UGLighting.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Specify the material type to use when loading a . 7 | /// 8 | public enum UGLighting 9 | { 10 | /// 11 | /// Use the default material for 12 | /// the current . 13 | /// 14 | Default = 0, 15 | 16 | /// 17 | /// The material will receive light. 18 | /// 19 | Lit, 20 | 21 | /// 22 | /// The material will not receive light 23 | /// and will keep a constant look. 24 | /// 25 | Unlit, 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/UGLighting.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2384d1ee92360cb4d8e1297392f497da 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/UGMetadata.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54caaf34991eba54fb8232526267cc02 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/UGTextureSettings.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Global options to apply when loading textures. 7 | /// 8 | public struct UGTextureSettings 9 | { 10 | /// 11 | /// Set this property to true to enable mip map generation. 12 | /// 13 | public bool generateMipMaps; 14 | 15 | /// 16 | /// This property defines the default filtering mode for textures that have no such specification in the dataset. 17 | /// 18 | public FilterMode defaultFilterMode; 19 | 20 | /// 21 | /// This property defines the anisotropic filtering level for textures. 22 | /// 23 | public int anisotropicFilterLevel; 24 | 25 | /// 26 | /// Default constructor. 27 | /// 28 | /// 29 | /// to enable mip map generation.; 30 | /// otherwise. 31 | /// 32 | /// 33 | /// Default filtering mode for textures that have no such specification in the dataset. 34 | /// 35 | /// Specify the anisotropic filtering level for textures 36 | public UGTextureSettings(bool generateMipMaps, FilterMode defaultFilterMode, int anisotropicFilterLevel) 37 | { 38 | this.generateMipMaps = generateMipMaps; 39 | this.defaultFilterMode = defaultFilterMode; 40 | this.anisotropicFilterLevel = anisotropicFilterLevel; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Runtime/Scripts/DataTypes/UGTextureSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f821af62eb87c474bafe7fecd3d18a79 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61ee7f8ebc898864ab5fd536a13452fb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea3fd5c0178e4e44383ca2f929f6894d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00e057d7ab8e2fd45949e6fe24219133 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/FileType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbcf32a49db4419bbcb314e4230a7fad 3 | timeCreated: 1646246157 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/HierarchyContentLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1587f600148490a90f338f3d23e2c50 3 | timeCreated: 1648154223 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/IExpandingNodeContent.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.UniversalDecoder 3 | { 4 | /// 5 | /// associated with a specific and children information 6 | /// allowing to generate the hierarchy on demand. 7 | /// 8 | public interface IExpandingNodeContent 9 | { 10 | /// 11 | /// Item available to be loaded by a . 12 | /// 13 | ILeaf Leaf { get; } 14 | 15 | /// 16 | /// The parent refine value in case the refine value on this item is not set. 17 | /// 18 | RefinementMode InheritedRefineMode { get; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/IExpandingNodeContent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12622493d7ce4ec78a998857a0ad63fa 3 | timeCreated: 1649879031 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/ILeaf.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4eb7c0c230940889ae5654e64b9e166 3 | timeCreated: 1648224571 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/INodeContentLoader.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | 3 | namespace Unity.Geospatial.Streaming.UniversalDecoder 4 | { 5 | /// 6 | /// Interface for classes with load / unload capabilities. 7 | /// 8 | public interface INodeContentLoader 9 | { 10 | /// 11 | /// Load the given NodeId given the provided NodeContent. 12 | /// 13 | /// The NodeId of the node to be loaded. This should come directly from the bounding 14 | /// volume hierarchy. 15 | /// The node content that should be loaded by the content loader. Given that this 16 | /// is an abstract class, various implementations can be passed here. 17 | /// The newly created instance corresponding to the loaded content. 18 | Task LoadNodeAsync(NodeId nodeId, NodeContent nodeContent); 19 | 20 | /// 21 | /// Unload the given node. 22 | /// 23 | /// The NodeId of the node to be unloaded. This should come directly from the BoundingVolumeHierarchy. 24 | void UnloadNode(NodeId nodeId); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/INodeContentLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b349102f03839f042ab9860deb322405 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/IUriCollection.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | 5 | namespace Unity.Geospatial.Streaming.UniversalDecoder 6 | { 7 | /// 8 | /// Collection of paths defining the source of data to load when is called 9 | /// for a single . 10 | /// 11 | public interface IUriCollection: 12 | IEnumerable 13 | { 14 | /// 15 | /// Get the associated with this collection. Based on the returned value, 16 | /// the corresponding will be used when 17 | /// / is called. 18 | /// 19 | /// This is usually the associated with the . 20 | /// The used to get the corresponding registered . 21 | FileType GetFileType(); 22 | 23 | /// 24 | /// Get if the instance can be loaded. 25 | /// 26 | /// 27 | /// if valid links are part of this instance; 28 | /// if required links are not set. 29 | /// 30 | bool HasContent(); 31 | 32 | /// 33 | /// The most representative link part of this collection. 34 | /// 35 | Uri MainUri { get; } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/IUriCollection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73d18f1873d64051924a40fa46b2b3b2 3 | timeCreated: 1648641635 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/KhronosGltf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6f7ae0887a09014b9ca9a9eeb1abc8b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/KhronosGltf/GltfContentLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d71fe6c4feed44f4c97917ef06b6f6ce 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/KhronosGltf/GltfUriLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84a9942355022bf4fbf951caf1dd7b19 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/KhronosGltf/UGGltFastInstantiator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 979100b332376ba4d83be8ce4797d7f0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 350f4348a13e82342817a24beae957c5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/OgcB3dmUriLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e69128eb9d954108a5b347021e1632b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/OgcTilesetContentLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20a0af8afbc19ad44877a4c41e8d16b6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28e10f6d38084576b89816b41003fa62 3 | timeCreated: 1646226838 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/B3DM.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69194e83e74f4f8d97bf43e21ea78652 3 | timeCreated: 1647023446 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/B3DM/B3dmTableSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// Default Batched 3D Model Feature Table schema. 6 | /// 7 | public class B3dmTableSchema 8 | { 9 | /// 10 | /// The number of distinguishable models, also called features, in the batch. 11 | /// If the Binary glTF does not have a batchId attribute, this field must be 0. 12 | /// 13 | public int Batch_Length { get; set; } 14 | 15 | /// 16 | /// A 3-component array of numbers defining the center position when positions are defined relative-to-center. 17 | /// 18 | public double[] Rtc_Center { get; set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/B3DM/B3dmTableSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b970c8465a44d3098f67f75c24b2ba9 3 | timeCreated: 1647023499 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 560fd5b931874cad93afb4c6f59c2d84 3 | timeCreated: 1646226143 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/AssetSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// Information for an ogc3d tiles dataset. 6 | /// 7 | public class AssetSchema : 8 | IAssetSchema 9 | { 10 | /// 11 | /// Application-specific version of this tileset, e.g., for when an existing tileset is updated. 12 | /// 13 | public string TilesetVersion { get; set; } 14 | 15 | /// 16 | public string Version { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/AssetSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 589599f6467646d28b0e6ce234d03608 3 | timeCreated: 1646226239 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/BoundingVolumeSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f83f699b5e8445479118ad2f4fe57902 3 | timeCreated: 1646226256 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/ContentSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// Uri getter allowing 6 | /// to retrieve where to get the data to load for this instance. 7 | /// 8 | public class ContentSchema : 9 | IContentSchema 10 | { 11 | /// 12 | /// A uri that points to tile content. When the uri is relative, it is relative to the referring tileset JSON file. 13 | /// 14 | public string Uri { get; set; } 15 | 16 | /// 17 | /// A uri that points to tile content. When the uri is relative, it is relative to the referring tileset JSON file. 18 | /// This is resolved when the dataset is using "url" key instead of the standard "uri" key. 19 | /// 20 | public string Url { get; set; } 21 | 22 | /// 23 | public string GetUri() 24 | { 25 | return Uri ?? Url; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/ContentSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41f69f181a154c44f91ef533cb32176f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/ExtensionsSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// Default empty extensions list. 6 | /// 7 | public sealed class ExtensionsSchema : IExtensionsSchema 8 | { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/ExtensionsSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a73e353399904668b2d31f302edbc71a 3 | timeCreated: 1654702287 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/PropertiesSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// A dictionary object of metadata about per-feature properties. 6 | /// 7 | public class PropertiesSchema : 8 | IPropertiesSchema 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/PropertiesSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3dedca1051a8435aae4907ad9042abe9 3 | timeCreated: 1646226283 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/TileSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dc8fb53242e47e4af7165c46ebbc256 3 | timeCreated: 1646226224 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Default/TilesetSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69c53885d2ec45dda4e76d71f95fb34a 3 | timeCreated: 1646226198 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2c79a3d950d43789683cfeacec5e946 3 | timeCreated: 1646227776 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IAssetSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// Interface to store information for an ogc3d tiles dataset. 6 | /// 7 | public interface IAssetSchema 8 | { 9 | /// 10 | /// The 3D Tiles version. The version defines the JSON schema for the tileset JSON and the base set of tile formats. 11 | /// 12 | string Version { get; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IAssetSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7618a6aa0734e39982d3f36fa3b73d0 3 | timeCreated: 1646227776 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IBoundingVolumeSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | using Unity.Geospatial.HighPrecision; 3 | using Unity.Mathematics; 4 | 5 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 6 | { 7 | /// 8 | /// Interface to get the bounding volume an ILeaf. 9 | /// 10 | public interface IBoundingVolumeSchema 11 | { 12 | /// 13 | /// Convert the to a DoubleBounds based on its values. 14 | /// 15 | /// Offset the result by this position. 16 | /// The DoubleBounds result. 17 | DoubleBounds ToDoubleBounds(double4x4 transform); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IBoundingVolumeSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc5b8a7e021f4db09e0339c65e412d2a 3 | timeCreated: 1646227776 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IContentSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// Interface to specify where to retrieve the data to load for an instance. 6 | /// 7 | public interface IContentSchema 8 | { 9 | /// 10 | /// A uri that points to tile content. When the uri is relative, it is relative to the referring tileset JSON file. 11 | /// 12 | /// The relative Uri of the data to load. 13 | string GetUri(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IContentSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae6d4a6b60fd41a7a8c2e2197302438e 3 | timeCreated: 1646227776 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IExtension.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// Json extension schema. 6 | /// 7 | public interface IExtension 8 | { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c16378483104d649bae9ef81c82f20d 3 | timeCreated: 1654701213 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IExtensionsSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// Extensions part of a dataset. 6 | /// 7 | public interface IExtensionsSchema 8 | { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IExtensionsSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 708d32f3c3f748299e213b19be491402 3 | timeCreated: 1654712233 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IPropertiesSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.Ogc3dTiles 3 | { 4 | /// 5 | /// A dictionary object of metadata about per-feature properties. 6 | /// 7 | public interface IPropertiesSchema 8 | { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/IPropertiesSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b1cd046fd30426aacca32bbe15d1a38 3 | timeCreated: 1646227776 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/ITileSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c569330bf410425b9190a7c80c223e0a 3 | timeCreated: 1646227776 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/Ogc3DTiles/Schema/Interface/ITilesetSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b32b6b7d73f40beaed2b8969bf77946 3 | timeCreated: 1646227776 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/SingleUri.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0bf47b97d4ca4d71ac689bb47ab4390d 3 | timeCreated: 1648641727 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 526d7c276ef4cdf49b4f92d013aaf7d0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/Schema.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd47208edf5947e1af31adb9f847ea93 3 | timeCreated: 1648234736 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/Schema/ConfigSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.TmsTerrain 3 | { 4 | /// 5 | /// Top schema item of the TmsTerrain json file. 6 | /// 7 | public class ConfigSchema 8 | { 9 | /// 10 | /// Define the URI formatting. 11 | /// 12 | public ContentSchema Content { get; set; } 13 | 14 | /// 15 | /// Coordinates limits. 16 | /// 17 | public ExtentSchema Extent { get; set; } 18 | 19 | /// 20 | /// Layout information on how to divide the tiles. 21 | /// 22 | public LimitsSchema SetLimits { get; set; } 23 | 24 | /// 25 | /// The version of the encoded config. 26 | /// 27 | public string Version { get; set; } 28 | 29 | /// 30 | /// When loading a dataset, start with item first as the root parent. 31 | /// This item is also used to get the base URI in case sub-items have relative URI. 32 | /// 33 | /// This doesn't need to have associated geometry, it can be a holder for a list of top parent items 34 | /// if the dataset has multiple roots. 35 | /// The top parent starting the hierarchy. 36 | public Tile GetRoot() 37 | { 38 | return new Tile( 39 | -1, 40 | 0, 41 | 0, 42 | default, 43 | Content, 44 | Extent, 45 | SetLimits); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/Schema/ConfigSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 013745e2796b4ba993ff2db3180e7767 3 | timeCreated: 1648483145 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/Schema/ContentSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce39cbaafe132f34e8aa7da4699eabde 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/Schema/ExtentSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a70d9e8af2e4dd48cc4f2707b3baa37 3 | timeCreated: 1648483159 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/Schema/LimitsSchema.cs: -------------------------------------------------------------------------------- 1 | 2 | using Unity.Geospatial.Streaming.UniversalDecoder; 3 | 4 | namespace Unity.Geospatial.Streaming.TmsTerrain 5 | { 6 | /// 7 | /// Layout information on how to divide the tiles. 8 | /// 9 | public class LimitsSchema 10 | { 11 | /// 12 | /// UTR layout used to divide the globe. 13 | /// 14 | public uint Layout { get; set; } 15 | 16 | /// 17 | /// Minimum in the hierarchy. 18 | /// Lower the number, closer to the root the will be; 19 | /// Higher the number, deeper in the hierarchy it is. 20 | /// 21 | public int MinLevel { get; set; } 22 | 23 | /// 24 | /// Divide the tileset up to this . 25 | /// Higher zoom level are not part of this dataset. 26 | /// 27 | public uint MaxLevel { get; set; } 28 | 29 | /// 30 | /// The lower column value part of the dataset when dividing for the . 31 | /// 32 | public uint MinCol { get; set; } 33 | 34 | /// 35 | /// The lower row value part of the dataset when dividing for the . 36 | /// 37 | public uint MinRow { get; set; } 38 | 39 | /// 40 | /// The higher column value part of the dataset when dividing for the . 41 | /// 42 | public uint MaxCol { get; set; } 43 | 44 | /// 45 | /// The higher row value part of the dataset when dividing for the . 46 | /// 47 | public uint MaxRow { get; set; } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/Schema/LimitsSchema.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06276914f2e643c18cbcd4852c2e0a6c 3 | timeCreated: 1648483169 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/Schema/Tile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce99f7645ab84ea99fafce53e779b24b 3 | timeCreated: 1648492362 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/TmsTerrainContentLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8afe803f83935c6488f540a9f2d1e810 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/TmsTerrainStreamer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa6d135beb78e954cbc4c6f634e5ceb3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/TmsTerrainUriLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7149cc8f63b09a42a98b33397055a63 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/TmsTerrain/UriCollection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d44f5977382c47a28e77a2e084fe4e15 3 | timeCreated: 1648641804 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/UriLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5913bfc7033a03b4e9e5ce9453004a26 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/UriNodeContent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15bc3777c7ea71643a1d867d81e6685b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/ContentLoaders/UriNodeContentLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 124f4dfd9e43ccf47918626cf6c4e20b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc9092afb5a9e424cb0468beb2a46dd9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/BoundingVolumeHierarchy.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58c8fc3b7884dac44802f6885691f631 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/CurrentStateController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db93f55264d4021419285ad5baaae6d5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/ExpansionScheduler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68d7b5051b942ce4c8b09f3b26379841 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/ICurrentStateController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | 4 | namespace Unity.Geospatial.Streaming.UniversalDecoder 5 | { 6 | internal interface ICurrentStateController 7 | { 8 | /// 9 | /// The number of nodes currently in the process of being loaded. This includes nodes which are 10 | /// waiting on server requests or going through some internal processing. 11 | /// 12 | public int LoadingCount { get; } 13 | 14 | /// 15 | /// Load the specified node.This operation will not be executed immediately 16 | /// but will be queued up. 17 | /// 18 | /// The of the node which should be loaded 19 | public void Load(NodeId nodeId); 20 | 21 | /// 22 | /// Unload the specified node. This operation will not be executed immediately 23 | /// but will be queued up. 24 | /// 25 | /// The of the node which should be loaded 26 | public void Unload(NodeId nodeId); 27 | 28 | /// 29 | /// Update the visibility of multiple nodes. This operation will not be executed immediately 30 | /// but will be queued up. However, the state of all the nodes listed is garanteed to be 31 | /// executed within the same frame as one another. 32 | /// 33 | /// The nodes to be made visible 34 | /// The nodes to be hidden 35 | public void UpdateVisibility(IEnumerable visible, IEnumerable hidden); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/ICurrentStateController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4adb747f786c42642b7cee780c784242 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IEditCurrentState.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.UniversalDecoder 3 | { 4 | /// 5 | /// Interface to interact with the for a given . 6 | /// 7 | public interface IEditCurrentState : IExploreHierarchyNodes 8 | { 9 | /// 10 | /// Get the of the specified node. 11 | /// 12 | /// The of the desired node. 13 | /// The of the specified node. 14 | CurrentState GetCurrentState(NodeId nodeId); 15 | 16 | 17 | /// 18 | /// Get the of the specified node. 19 | /// 20 | /// The of the desired node. 21 | /// The of the specified node. 22 | NodeContent GetNodeContent(NodeId nodeId); 23 | 24 | 25 | /// 26 | /// Set the of the specified node. 27 | /// 28 | /// The of the desired node. 29 | /// The of the specified node. 30 | void SetCurrentState(NodeId nodeId, CurrentState currentState); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IEditCurrentState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a857232fb51c3043847691fdc84f4ab 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IEditHierarchyNodes.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.UniversalDecoder 3 | { 4 | /// 5 | /// Interface to interact with the parenting of . 6 | /// 7 | public interface IEditHierarchyNodes : IGetNodeData 8 | { 9 | /// 10 | /// Add a node to the bounding volume hierarchy. 11 | /// 12 | /// The node which should be the new node's parent. 13 | /// The data that this node should contain. 14 | /// Content of the data to load when requested. 15 | /// The of the node that has been added to the hierarchy. 16 | NodeId AddNode(NodeId parent, NodeData data, NodeContent content); 17 | 18 | /// 19 | /// Remove a node from the hierarchy. If this node has children, its children will also be removed 20 | /// from the hierarchy. 21 | /// 22 | /// The of the node to be removed. 23 | void RemoveNode(NodeId nodeId); 24 | 25 | /// 26 | /// Change the to the bounding volume hierarchy. 27 | /// 28 | /// The node to update. 29 | /// The data that this node should contain. 30 | void UpdateNode(NodeId nodeId, NodeData data); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IEditHierarchyNodes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99d1faa95884cc54ea2d1ef3607dde94 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IEditTargetState.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.UniversalDecoder 3 | { 4 | internal interface IEditTargetState : IGetNodeData 5 | { 6 | /// 7 | /// Get the of the given node. 8 | /// 9 | /// The of the node to be queried. 10 | /// The of the given node. 11 | TargetState GetTargetState(NodeId nodeId); 12 | 13 | /// 14 | /// Set the target state of the given node. 15 | /// 16 | /// The of the node to be queried. 17 | /// The of the given node. 18 | void SetTargetState(NodeId nodeId, TargetState targetState); 19 | 20 | /// 21 | /// Set the error specification of the given node. 22 | /// 23 | /// The of the node to be queried. 24 | /// The error specification of the given node. 25 | void SetErrorSpecification(NodeId nodeId, float errorSpecification); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IEditTargetState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b517e8ab78804d4982ec1bc4ca9aa13 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IExploreHierarchyNodes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5edceba3734e76c439a5159a2f72e5bd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IGetNodeData.cs: -------------------------------------------------------------------------------- 1 | using Unity.Geospatial.HighPrecision; 2 | 3 | namespace Unity.Geospatial.Streaming.UniversalDecoder 4 | { 5 | /// 6 | /// Interface to get information for a given . 7 | /// 8 | public interface IGetNodeData : IExploreHierarchyNodes 9 | { 10 | /// 11 | /// Get the bounds of the given node. 12 | /// 13 | /// The of the desired node. 14 | /// The bounds of the given node. 15 | DoubleBounds GetBounds(NodeId nodeId); 16 | 17 | /// 18 | /// Get the geometric error of a given node. 19 | /// 20 | /// The of the node to be queried. 21 | /// The geometric error of the given node. 22 | float GetGeometricError(NodeId nodeId); 23 | 24 | /// 25 | /// Get whether node is set to always expand. Some nodes, such as the root 26 | /// node of the hierarchy and other placeholder nodes are designed to always 27 | /// expand and their bounds and geometric error should never be evaluated. 28 | /// 29 | /// The of the node to be evaluated. 30 | /// True if the node is set to always expand, false otherwise. 31 | bool GetAlwaysExpandFlag(NodeId nodeId); 32 | 33 | /// 34 | /// Get the error specification of the specified node. 35 | /// 36 | /// The of the requested node. 37 | /// The error specification of the specified node. 38 | float GetErrorSpecification(NodeId nodeId); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IGetNodeData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69363773a2d94b759813f85c84c850f1 3 | timeCreated: 1647875599 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/ILoaderActions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36c62a30a35049cd90a87fc706cd3af6 3 | timeCreated: 1649082838 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/INodeContentManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efee176611371cf42b4b51de0b79e075 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IScheduleNodeChanges.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 523a51997071be343afcf7d7747a32e8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/IndirectionBlock.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90af2ff5b269def4e89a7289c1a037b5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/NodeContentManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f93a50fbe2b6d694ab976270fcb34df7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Core/TargetStateController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53cda34537fcdb6439010b8b2bd71b37 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdab8c4d25b15254d9a4b046d078cb05 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources/GltfDataSource.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28bf1204fc6b12649957b34c7890539a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources/GltfDataSourceObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6828799f45d2f0e4d8268d5d78e29eed 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources/Ogc3dTilesDataSource.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33cf4a705bad360458b9c45ba1e8c607 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources/Ogc3dTilesDataSourceObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d9a93ed03e7c6540b01821a8852e214 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources/TmsTerrainDataSource.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed581c9546306d74788ae40b7698468b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources/TmsTerrainDataSourceObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b18389b57d678e043a2c6bdb53f384b9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources/UniversalDecoderDataSource.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | 4 | namespace Unity.Geospatial.Streaming.UniversalDecoder 5 | { 6 | /// 7 | /// Base class that defines a layer of data available to be loaded via a . 8 | /// 9 | public abstract class UniversalDecoderDataSource : UGDataSource 10 | { 11 | /// 12 | /// Default constructor. 13 | /// 14 | /// Scriptable object associated with this instance. 15 | protected UniversalDecoderDataSource(UGDataSourceID dataSourceId) : 16 | base(dataSourceId) 17 | { 18 | } 19 | 20 | /// 21 | public override Type GetDecoderType() 22 | { 23 | return typeof(UGUniversalDecoder); 24 | } 25 | 26 | /// 27 | public override UGDataSourceDecoder InstantiateDecoder(UUIDGenerator idGenerator, UGMaterialFactory materialFactory, UGDataSource[] dataSources, int maximumSimultaneousContentRequests) 28 | { 29 | return new UGUniversalDecoder(materialFactory, dataSources, maximumSimultaneousContentRequests); 30 | } 31 | 32 | /// 33 | /// Initialize decoder by adding relevant nodes to the hierarchy and by initializing the content manager 34 | /// with the appropriately configured loaders. 35 | /// 36 | /// The content manager to be initialized with this datasource 37 | public abstract void InitializerDecoder(NodeContentManager contentManager); 38 | 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataSources/UniversalDecoderDataSource.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b5ce1675e5711c4ba0b336f06c8613d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7c515162ee526b41bab70d1fac0c0d1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/ContentType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de125d77b0903db46999cbf125445567 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/CurrentState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b2a92ad6156d00479657f754737fbcc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/Node.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60d5a1c993dd8dd4bb01c63307ee7556 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/NodeContent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa4c7b1005ebef94b909b8ab4437840c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/NodeData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4229ad47c7a1674eb47d703b30cf9a1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/NodeId.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1ace2421f9b150439b040c834d47d18 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/RefinementMode.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// Define how a node will be displayed when it's children gets loaded. 6 | /// 7 | public enum RefinementMode 8 | { 9 | /// 10 | /// Additive nodes do not become invisible when they are expanded. 11 | /// 12 | Add, 13 | 14 | /// 15 | /// Replace nodes are made invisible when they are expanded. 16 | /// 17 | Replace 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/RefinementMode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81ec3c369719aa5499e25e3a17b83235 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/SystemProcessingEventArgs.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// Arguments passed each time an event 6 | /// is triggered. 7 | /// 8 | public struct SystemProcessingEventArgs 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/SystemProcessingEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75f6b4f1987e4c87a3ddfbba812dd310 3 | timeCreated: 1639767285 -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/DataTypes/TargetState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 917df9b6058403b498a0cfa80b2075c5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/UGUniversalDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b43060b3ad86671448840a97c2784ab8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Utilities.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77a3a3f31ddaae9449000e9d78c9ee89 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Utilities/PathUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bcf51508f543e3e4ba78bceabe2fc537 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Utilities/PriorityQueue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a9925fdbc96a3c4587ba903ae2ee234 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Utilities/RevertingCommandStack.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92e840e079568044c8969ec87bbcf259 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Utilities/UniqueContentTypeGenerator.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming.UniversalDecoder 3 | { 4 | /// 5 | /// Unique identifier generator used for registration. 6 | /// 7 | public class UniqueContentTypeGenerator 8 | { 9 | private int m_CurrentId = ContentType.UnreservedStart; 10 | 11 | /// 12 | /// Create a new . 13 | /// 14 | /// The newly generated instance. 15 | public ContentType Generate() 16 | { 17 | return new ContentType(m_CurrentId++); 18 | } 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Runtime/Scripts/Decoder/UniversalDecoder/Utilities/UniqueContentTypeGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 863419fd322d4f741ac52732e4a4e844 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05549df273472f84d86157b019331707 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/EuclideanTR.cs: -------------------------------------------------------------------------------- 1 | using Unity.Mathematics; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Euclidean transformation (rigid motion) stored as a translation / rotation of a single vector. 7 | /// 8 | public struct EuclideanTR 9 | { 10 | /// 11 | /// Translation information of the vector. 12 | /// 13 | public double3 Position; 14 | 15 | /// 16 | /// Orientation information of the vector. 17 | /// 18 | public quaternion Rotation; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/EuclideanTR.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d883bf88c8b6134883fe5212f56ab85 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/GeodeticCoordinates.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc402fccdf59cfc4ea42ebf2327f7024 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/GeodeticTR.cs: -------------------------------------------------------------------------------- 1 |  2 | using Unity.Mathematics; 3 | 4 | namespace Unity.Geospatial.Streaming 5 | { 6 | /// 7 | /// Geodetic transformation (coordinate transformation) stored as latitude / longitude / elevation / rotation of a single vector. 8 | /// 9 | public struct GeodeticTR 10 | { 11 | /// 12 | /// Projected position relative to a center expressed in degrees and minutes.. 13 | /// 14 | public GeodeticCoordinates Position; 15 | 16 | /// 17 | /// Orientation of the vector where zero (0, 0, 0) is pointing to the same direction as the normal. 18 | /// 19 | public float3 EulerAngles; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/GeodeticTR.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d75de38dc1ae44428cd75f6d8e83f61 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/HPTransformExtensions.cs: -------------------------------------------------------------------------------- 1 |  2 | using Unity.Geospatial.HighPrecision; 3 | using Unity.Mathematics; 4 | 5 | namespace Unity.Geospatial.Streaming 6 | { 7 | /// 8 | /// Extend the HPTransform methods with geodetic related methods. 9 | /// 10 | public static class HPTransformExtensions 11 | { 12 | /// 13 | /// Set current HPTransform's local position and rotation based on geodetic position coordinates, 14 | /// and euler angles in degrees with range [-180, 180] 15 | /// 16 | /// Set the transform values to this component. 17 | /// Set the translation to this value. 18 | /// Set the orientation to this value. 19 | public static void SetGeodeticCoordinates(this HPTransform transform, GeodeticCoordinates position, float3 eulerAngles) 20 | { 21 | EuclideanTR xzyecef = Wgs84.GeodeticToXzyEcef(position, eulerAngles); 22 | 23 | transform.LocalPosition = xzyecef.Position; 24 | transform.LocalRotation = xzyecef.Rotation; 25 | } 26 | 27 | /// 28 | /// Convert the position / rotation to a geodetic format. 29 | /// 30 | /// Get the transform values from this component. 31 | /// The geodetic result. 32 | public static GeodeticTR GetGeodeticCoordinates(this HPTransform transform) 33 | { 34 | return Wgs84.XzyEcefToGeodetic(transform.LocalPosition, transform.LocalRotation); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/HPTransformExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99b8d5e0e8712ba4389ea4466de01939 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/TrigonometricRatios.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.CompilerServices; 2 | using Unity.Burst; 3 | using Unity.Mathematics; 4 | 5 | namespace Unity.Geospatial.Streaming 6 | { 7 | internal readonly struct TrigonometricRatios 8 | { 9 | public double4 Ratios { get; } 10 | 11 | public TrigonometricRatios(double4 ratios) 12 | { 13 | Ratios = ratios; 14 | } 15 | 16 | public TrigonometricRatios(GeodeticCoordinates coordinates): 17 | this(GeodeticCoordinatesToDouble4(coordinates)) { } 18 | 19 | [BurstCompile(CompileSynchronously = true)] 20 | [MethodImpl(MethodImplOptions.AggressiveInlining)] 21 | private static double4 GeodeticCoordinatesToDouble4(GeodeticCoordinates coordinates) 22 | { 23 | double4 rads = math.radians(coordinates.value.xxyy); 24 | 25 | return new double4(math.cos(rads.xz), math.sin(rads.yw)); 26 | } 27 | 28 | public double CosLat 29 | { 30 | get { return Ratios.x; } 31 | } 32 | 33 | public double SinLat 34 | { 35 | get { return Ratios.z; } 36 | } 37 | 38 | public double CosLon 39 | { 40 | get { return Ratios.y; } 41 | } 42 | 43 | public double SinLon 44 | { 45 | get { return Ratios.w; } 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/TrigonometricRatios.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21898149b01b4a7197e199d0e239c89a 3 | timeCreated: 1653058726 -------------------------------------------------------------------------------- /Runtime/Scripts/Geospatial/WGS84.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94053690afc75264aa19856924a8b415 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/MeshEditing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7943924cdde02e2458b7f0f33d7cc6b5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/MeshEditing/Edge.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cce7191d082f4ba4fa16947590908518 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/MeshEditing/MeshEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72df362939646d34b8865cb4cb24f3e9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/MeshEditing/TriangleCollectionIndex.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// Mesh triangles collection indirection allowing giving collections by index instead of the complete array. 6 | /// 7 | public readonly struct TriangleCollectionIndex 8 | { 9 | /// 10 | /// Unique index this collection refers to. 11 | /// 12 | public readonly int Index; 13 | 14 | /// 15 | /// Default constructor. 16 | /// 17 | /// Unique index the collection will refer to. 18 | public TriangleCollectionIndex(int index) 19 | { 20 | Index = index; 21 | } 22 | 23 | /// 24 | /// Get if the collection does not refers to a collection. 25 | /// 26 | /// 27 | public bool IsValid() 28 | { 29 | return Index != -1; 30 | } 31 | 32 | /// 33 | /// Get a collection where the instance has no triangles. 34 | /// 35 | public static readonly TriangleCollectionIndex Null = new TriangleCollectionIndex(-1); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Runtime/Scripts/MeshEditing/TriangleCollectionIndex.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11248649480f67a47b73d7d271f5e0e6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/MeshEditing/VertexInterpolator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3de12e8b757746f42b1b6af3bfdb1436 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4013c38d38c9a6f4bbaef7223c94e885 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Definitions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8be9ad7df190d3b45b2beedff015b23e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Definitions/UGDataSourceDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 003f7dfd82ba28d44ace2e8af17729ea 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Definitions/UGModifier.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8299103a62799724e9803b787061c62d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Definitions/UGPresenter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3387a45dc25bb81409b3c5ca1930789e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Definitions/UGSceneObserver.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Base Scene Observer class used to calculate the values. 7 | /// 8 | public abstract class UGSceneObserver : UGProcessingNode 9 | { 10 | /// 11 | /// List of returning each for each 12 | /// registered observer. 13 | /// 14 | protected readonly List> m_DetailOutputs = new List>(); 15 | 16 | /// 17 | /// Get the number of have been created with a . 18 | /// 19 | public int DetailOutputCount 20 | { 21 | get { return m_DetailOutputs.Count; } 22 | } 23 | 24 | /// 25 | /// Get the for the given . 26 | /// 27 | /// Index of the instance to retrieve. 28 | /// The node output instance at the given . 29 | public NodeOutput GetDetailOutput(int index) 30 | { 31 | return m_DetailOutputs[index]; 32 | } 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Definitions/UGSceneObserver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 187787ea7f670d2408d1092075228e24 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/IExecutableTaskManager.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// This interface extension allows both single thread and multi-thread implementations of 6 | /// the task manager to be called in the same way from within the . 7 | /// 8 | internal interface IExecutableTaskManager : ITaskManager 9 | { 10 | /// 11 | /// The number of tasks scheduled to run on the main thread. 12 | /// 13 | public int MainThreadTasks { get; } 14 | 15 | /// 16 | /// The number of tasks scheduled to run in the thread pool 17 | /// 18 | public int ThreadPoolTasks { get; } 19 | 20 | /// 21 | /// A method which must be called regularly if tasks are scheduled to run on the 22 | /// main thread. 23 | /// 24 | public void ExecuteMainThreadTask(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/IExecutableTaskManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b6a35c2f79a8ae42b8a90288cd94249 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/ITaskManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Main interface defining how to execute the 7 | /// Tasks. 8 | /// This allow to implement either a custom task manager or decide whether all the 9 | /// Tasks should be 10 | /// executed on the main thread or be multi-threaded. 11 | /// 12 | public interface ITaskManager 13 | { 14 | /// 15 | /// Schedule a task to run outside of the main thread. Some implementation may 16 | /// prefer to run the task on the main thread anyways in order to support single 17 | /// thread platforms or in order to optimise performance. 18 | /// 19 | /// The action to be scheduled on by the task manager 20 | void ScheduleTask(Action task); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/ITaskManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 242ab68a732147a488892e86aa5da1d6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Implementations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7d2c0d61996db34995a3a967606368f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Implementations/DecoderMultiplexer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a69ef84532e0ce42ae7d8d736de682c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Implementations/ObserverMultiplexer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 131f5e2e01220ea488b9dec336e9929e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Implementations/OneToManyNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3a9af2bbaee8eb48a26956595bb0b52 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Implementations/UGBehaviourPresenter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bc89f053e494bc469f966bdfac9e998 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Implementations/UGExtentModifier.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccfd995fc850c4142bb833f6009571b1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Implementations/UGInstantiator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f27e4f36714ff7f45bdae6333783257f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/Implementations/UGSimpleSceneObserver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56699fa738d84b4469ce623f9103d789 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/MainThreadTaskManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | 5 | namespace Unity.Geospatial.Streaming 6 | { 7 | /// 8 | /// An implementation of the task manager which solely runs on the main thread. 9 | /// 10 | internal class MainThreadTaskManager : IExecutableTaskManager 11 | { 12 | /// 13 | /// The queue of tasks to run on the main thread. 14 | /// 15 | private Queue m_Tasks = new Queue(); 16 | 17 | 18 | /// 19 | public int MainThreadTasks { get { return m_Tasks.Count; } } 20 | 21 | /// 22 | public int ThreadPoolTasks { get { return 0; } } 23 | 24 | /// 25 | public void ScheduleTask(Action task) 26 | { 27 | m_Tasks.Enqueue(task); 28 | } 29 | 30 | /// 31 | public void ExecuteMainThreadTask() 32 | { 33 | if (MainThreadTasks > 0) 34 | m_Tasks.Dequeue().Invoke(); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/MainThreadTaskManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a268dac9b89a5740aa30e98363c9d78 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/ThreadPoolTaskManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading; 3 | 4 | namespace Unity.Geospatial.Streaming 5 | { 6 | /// 7 | /// The thread pool task manager schedules all tasks onto the C# 8 | /// thread pool in order to pull it away from the main thread. It is 9 | /// guaranteed that the task will never be scheduled on the main thread. 10 | /// 11 | internal class ThreadPoolTaskManager : IExecutableTaskManager 12 | { 13 | /// 14 | /// Lock used to prevent concurent access to task counter 15 | /// 16 | private readonly object m_Lock = new object(); 17 | 18 | /// 19 | public int MainThreadTasks { get { return 0; } } 20 | 21 | /// 22 | public int ThreadPoolTasks { get; private set; } 23 | 24 | /// 25 | public void ScheduleTask(Action task) 26 | { 27 | lock (m_Lock) 28 | { 29 | ThreadPoolTasks++; 30 | } 31 | 32 | ThreadPool.QueueUserWorkItem(_ => 33 | { 34 | task.Invoke(); 35 | lock (m_Lock) 36 | { 37 | ThreadPoolTasks--; 38 | } 39 | }); 40 | } 41 | 42 | /// 43 | public void ExecuteMainThreadTask() 44 | { 45 | // 46 | // Intentionally left blank 47 | // 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/ThreadPoolTaskManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81fb5ed53259e034784eaf223993aa3b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/UGProcessingNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a6544d03f53c1449b5779367a2c345b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ProcessGraph/UGSynchronizationContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc23f80f33cc3dc46b649055154f11b1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eca2514886c81b345b754b16d2b1e564 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/DeferredMaterialFactory.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 953f0880eb2dae24fb2dbabe7f127416 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/DeferredMaterialFactory/DeferredMaterialFactory.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// implementation where materials 6 | /// get instantiated later by the allowing dynamic creation based on the current state 7 | /// of the instance. 8 | /// 9 | public class DeferredMaterialFactory : UGMaterialFactory 10 | { 11 | /// 12 | public override UGMaterial InstantiateMaterial(MaterialType type) 13 | { 14 | return new UGDeferredMaterial(type); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/DeferredMaterialFactory/DeferredMaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2bbe1fa811e8ff43bce5ac6524ee672 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/DeferredMaterialFactory/DeferredMaterialFactoryObject.cs: -------------------------------------------------------------------------------- 1 |  2 | using UnityEngine; 3 | 4 | namespace Unity.Geospatial.Streaming 5 | { 6 | /// 7 | /// implementation where materials 8 | /// get instantiated later by the allowing dynamic creation based on the current state 9 | /// of the instance. 10 | /// 11 | [CreateAssetMenu(fileName = "Deferred Material Factory", menuName = "Geospatial/Rendering/Deferred Material Factory", order = k_AssetMenuOrder)] 12 | public class DeferredMaterialFactoryObject : UGMaterialFactoryObject 13 | { 14 | /// 15 | public override UGMaterialFactory Instantiate() 16 | { 17 | return new DeferredMaterialFactory(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/DeferredMaterialFactory/DeferredMaterialFactoryObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c950f47a93df8864481009032ae73346 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SceneAbstraction.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ffd601b44decb7e42a878a230c482203 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SceneAbstraction/GOBaseRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10fb8893eddd51347bb88ef13339d7a6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SceneAbstraction/GOCompositeRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f35c62480db81ce43bdcece1f9ef5f47 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SceneAbstraction/GOMeshRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 024e05aa12630e04b9a32ab257e52dfc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SceneAbstraction/GONodeRenderer.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Empty renderer where the and instantiation is skipped. 7 | /// This can be useful when creating a hierarchy of nodes that has no geometry to be rendered. 8 | /// 9 | public class GONodeRenderer : GOBaseRenderer 10 | { 11 | /// 12 | public override int UnityLayer 13 | { 14 | set 15 | { 16 | m_GameObject.layer = value; 17 | } 18 | } 19 | 20 | /// 21 | public override Mesh Mesh 22 | { 23 | set{} 24 | } 25 | 26 | /// 27 | public override UGMaterial[] Materials 28 | { 29 | set{} 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SceneAbstraction/GONodeRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3653c231699a4640aefc9d1669159ab 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SceneAbstraction/IUGRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5394dfc96481514e8aa33124213e950 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SimpleMaterialFactory.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0fee21dabbc84ad49a5d17d6c1276e1c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SimpleMaterialFactory/SimpleMaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 313d26460f8807646b65883718ce41a9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/SimpleMaterialFactory/SimpleMaterialFactoryObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c2b7b7c616d59749978b19c1bd9fbff 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGCommonTerrainMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9007d441cd99aa4e845f8e81fe2bff0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGDeferredMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92752ac7a43585844b045b4670a040d9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 905afc56da846e84e9e40643ed58ccea 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGMaterialFactory.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Unity.Geospatial.Streaming 3 | { 4 | /// 5 | /// Base class to create instances with its attached Properties. 6 | /// 7 | public abstract class UGMaterialFactory 8 | { 9 | /// 10 | /// Create a new instance based on the given . 11 | /// 12 | /// Determine which to instantiate. 13 | /// The new material instance. 14 | public abstract UGMaterial InstantiateMaterial(MaterialType type); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGMaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a9a24c701ef287418f5c80bc0473195 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGMaterialFactoryObject.cs: -------------------------------------------------------------------------------- 1 |  2 | using UnityEngine; 3 | 4 | namespace Unity.Geospatial.Streaming 5 | { 6 | /// 7 | /// Base factory asset to be instantiated into a scene as a . 8 | /// 9 | public abstract class UGMaterialFactoryObject : ScriptableObject 10 | { 11 | internal const int k_AssetMenuOrder = 101; 12 | 13 | /// 14 | /// Create a new based on this instance values. 15 | /// 16 | /// The new instance. 17 | public abstract UGMaterialFactory Instantiate(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGMaterialFactoryObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cc24642076f4ec49b7c47485fdc8a0d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGShaderPropertiesObject.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace Unity.Geospatial.Streaming 5 | { 6 | /// 7 | /// ScriptableObject for 8 | /// to be applied on materials. 9 | /// 10 | [CreateAssetMenu(fileName = "Shader Properties", menuName = "Geospatial/Rendering/Shader Properties", order = 102)] 11 | public class UGShaderPropertiesObject : ScriptableObject 12 | { 13 | /// 14 | /// List of to be applied. 15 | /// 16 | public List PropertyList; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGShaderPropertiesObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dec31f5ecf3d324b954f84f79ab3d50 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGShaderProperty.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Unity.Geospatial.Streaming 4 | { 5 | /// 6 | /// Property directive allowing the corresponding method call on a material. 7 | /// 8 | [Serializable] 9 | public class UGShaderProperty 10 | { 11 | /// 12 | /// Specify how a property affects the 13 | /// material. 14 | /// 15 | public MaterialPropertyType Type; 16 | 17 | /// 18 | /// Name of the property allowing a better understanding of its usage. 19 | /// 20 | public string Name; 21 | 22 | /// 23 | /// Texture transform / scale to apply. 24 | /// 25 | public string TextureScaleTiling; 26 | 27 | /// 28 | /// Default constructor. 29 | /// 30 | /// Specify how a property affects the 31 | /// material. 32 | /// Name of the property allowing a better understanding of its usage. 33 | /// Texture transform / scale to apply. 34 | public UGShaderProperty(MaterialPropertyType type, string name, string st = null) 35 | { 36 | Type = type; 37 | Name = name; 38 | TextureScaleTiling = st; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGShaderProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb45195674f83114ea873a2c16cb5a23 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/Rendering/UGSimpleMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c085147fff8f1e4db038cb82bdd4ac5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef0acb58404f41a45831dd5f73bba053 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0879d97c7808fbb4483df37df11717ca 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinLitAlphaTest.shader: -------------------------------------------------------------------------------- 1 | Shader "Geospatial/Builtin/BuiltinLitAlphaTest" 2 | { 3 | Properties 4 | { 5 | _Color ("Base Color", Color) = (1,1,1,1) 6 | _MainTex ("Base Color Map", 2D) = "white" {} 7 | _Glossiness ("Smoothness", Range(0,1)) = 0.0 8 | _Metallic ("Metallic", Range(0,1)) = 0.0 9 | _Cutoff ("Alpha Cutoff", Range(0,1)) = 0.0 10 | } 11 | SubShader 12 | { 13 | Tags {"Queue" = "AlphaTest"} 14 | 15 | CGPROGRAM 16 | // Physically based Standard lighting model, and enable shadows on all light types 17 | #pragma surface surf Standard fullforwardshadows vertex:vert alphatest:_Cutoff addshadow 18 | 19 | // Use shader model 3.0 target, to get nicer looking lighting 20 | #pragma target 3.0 21 | 22 | #include "UnityCG.cginc" 23 | 24 | sampler2D _MainTex; 25 | 26 | struct Input 27 | { 28 | float2 uv_MainTex; 29 | float4 vcolor : COLOR; // vertex color 30 | }; 31 | 32 | void vert (inout appdata_full v, out Input o) 33 | { 34 | UNITY_INITIALIZE_OUTPUT(Input,o); 35 | 36 | o.vcolor = v.color; 37 | #ifdef UNITY_COLORSPACE_GAMMA 38 | o.vcolor.rgb = LinearToGammaSpace(v.color.rgb); 39 | #endif 40 | } 41 | 42 | half _Glossiness; 43 | half _Metallic; 44 | fixed4 _Color; 45 | 46 | void surf (Input IN, inout SurfaceOutputStandard o) 47 | { 48 | // Albedo comes from a texture tinted by base color and vertex color 49 | fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color * IN.vcolor; 50 | o.Albedo = c.rgb; 51 | o.Metallic = _Metallic; 52 | o.Smoothness = _Glossiness; 53 | o.Alpha = c.a; 54 | } 55 | ENDCG 56 | } 57 | FallBack "Diffuse" 58 | } 59 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinLitAlphaTest.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb301688b208ea742bff7514764bd750 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinLitOpaque.shader: -------------------------------------------------------------------------------- 1 | Shader "Geospatial/Builtin/BuiltinLitOpaque" 2 | { 3 | Properties 4 | { 5 | _Color ("Base Color", Color) = (1,1,1,1) 6 | _MainTex ("Base Color Map", 2D) = "white" {} 7 | _Glossiness ("Smoothness", Range(0,1)) = 0.0 8 | _Metallic ("Metallic", Range(0,1)) = 0.0 9 | } 10 | SubShader 11 | { 12 | Tags { "RenderType"="Opaque" } 13 | LOD 200 14 | 15 | CGPROGRAM 16 | // Physically based Standard lighting model, and enable shadows on all light types 17 | #pragma surface surf Standard fullforwardshadows vertex:vert addshadow 18 | 19 | // Use shader model 3.0 target, to get nicer looking lighting 20 | #pragma target 3.0 21 | 22 | #include "UnityCG.cginc" 23 | 24 | sampler2D _MainTex; 25 | 26 | struct Input 27 | { 28 | float2 uv_MainTex; 29 | float4 vcolor : COLOR; // vertex color 30 | }; 31 | 32 | void vert (inout appdata_full v, out Input o) 33 | { 34 | UNITY_INITIALIZE_OUTPUT(Input,o); 35 | 36 | o.vcolor = v.color; 37 | #ifdef UNITY_COLORSPACE_GAMMA 38 | o.vcolor.rgb = LinearToGammaSpace(v.color.rgb); 39 | #endif 40 | } 41 | 42 | half _Glossiness; 43 | half _Metallic; 44 | fixed4 _Color; 45 | 46 | void surf (Input IN, inout SurfaceOutputStandard o) 47 | { 48 | // Albedo comes from a texture tinted by base color and vertex color 49 | fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color * IN.vcolor; 50 | o.Albedo = c.rgb; 51 | o.Metallic = _Metallic; 52 | o.Smoothness = _Glossiness; 53 | o.Alpha = c.a; 54 | } 55 | ENDCG 56 | } 57 | FallBack "Diffuse" 58 | } 59 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinLitOpaque.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c910c98b6536a44a8e7d51a5ce0c853 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinLitTransparent.shader: -------------------------------------------------------------------------------- 1 | Shader "Geospatial/Builtin/BuiltinLitTransparent" 2 | { 3 | Properties 4 | { 5 | _Color ("Base Color", Color) = (1,1,1,1) 6 | _MainTex ("Base Color Map", 2D) = "white" {} 7 | _Glossiness ("Smoothness", Range(0,1)) = 0.0 8 | _Metallic ("Metallic", Range(0,1)) = 0.0 9 | } 10 | SubShader 11 | { 12 | Tags {"Queue" = "Transparent" "RenderType"="Transparent"} 13 | 14 | CGPROGRAM 15 | // Physically based Standard lighting model, and enable shadows on all light types 16 | #pragma surface surf Standard fullforwardshadows vertex:vert alpha 17 | 18 | // Use shader model 3.0 target, to get nicer looking lighting 19 | #pragma target 3.0 20 | 21 | #include "UnityCG.cginc" 22 | 23 | sampler2D _MainTex; 24 | 25 | struct Input 26 | { 27 | float2 uv_MainTex; 28 | float4 vcolor : COLOR; // vertex color 29 | }; 30 | 31 | void vert (inout appdata_full v, out Input o) 32 | { 33 | UNITY_INITIALIZE_OUTPUT(Input,o); 34 | 35 | o.vcolor = v.color; 36 | #ifdef UNITY_COLORSPACE_GAMMA 37 | o.vcolor.rgb = LinearToGammaSpace(v.color.rgb); 38 | #endif 39 | } 40 | 41 | half _Glossiness; 42 | half _Metallic; 43 | fixed4 _Color; 44 | 45 | void surf (Input IN, inout SurfaceOutputStandard o) 46 | { 47 | // Albedo comes from a texture tinted by base color and vertex color 48 | fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color * IN.vcolor; 49 | o.Albedo = c.rgb; 50 | o.Metallic = _Metallic; 51 | o.Smoothness = _Glossiness; 52 | o.Alpha = c.a; 53 | } 54 | ENDCG 55 | } 56 | FallBack "Diffuse" 57 | } 58 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinLitTransparent.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b7f65a9a11205642a0a6116f1f4212d 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinUnlitAlphaTest.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a927919e24cde54d9a680fde8348236 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinUnlitOpaque.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf5383989c9b85340925e3dcd469e2aa 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinUnlitTerrain.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ab7fe1c00cae624993b25f1cbe33b81 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Runtime/Shaders/Builtin/BuiltinUnlitTransparent.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c43ab0fc41453f498e132e2ae17ef74 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Common.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ece7800f2961dcf45bd775b841a188dc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders/Common/LitTerrainBase.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3128d8bede6e27140aed21a5a6b4b658 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Common/LitTerrainOverlay.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cd5f1ed253cc17479f0021bfe9dfdeb 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Common/SphericalSkybox.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36938387bfae36f47aff2eb22dd0543a 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Runtime/Shaders/Common/TerrainMaskNode.hlsl: -------------------------------------------------------------------------------- 1 | //UNITY_SHADER_NO_UPGRADE 2 | #ifndef TERRAIN_MASK_NODE 3 | #define TERRAIN_MASK_NODE 4 | 5 | float mask(float2 uv, float4 mask) 6 | { 7 | return (1-step(uv.x, mask.x)) * step(uv.x, mask.x+mask.z) 8 | * (1-step(uv.y, mask.y))* step(uv.y, mask.y+mask.w); 9 | } 10 | 11 | 12 | float4 blend(float4 bg, float4 fg) 13 | { 14 | return bg * (1.0 - fg.a) + fg * fg.a; 15 | } 16 | 17 | 18 | 19 | 20 | void ComputeFragment_float(float2 uv, float4 a, float4 aMask, float4 b, float4 bMask, float4 c, float4 cMask, float4 d, float4 dMask, out float4 result) 21 | { 22 | float4 aCol = mask(uv, aMask) * a; 23 | float4 bCol = mask(uv, bMask) * b; 24 | float4 cCol = mask(uv, cMask) * c; 25 | float4 dCol = mask(uv, dMask) * d; 26 | 27 | float4 col = float4(0,0,0,0); 28 | col = blend(col, aCol); 29 | col = blend(col, bCol); 30 | col = blend(col, cCol); 31 | col = blend(col, dCol); 32 | 33 | result = col; 34 | } 35 | 36 | #endif -------------------------------------------------------------------------------- /Runtime/Shaders/Common/TerrainMaskNode.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5c82b3061b1bf54d9df28b19d956fd3 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Common/TerrainMaskNode.shadersubgraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: faaeda1a9c1889148a56ed295e003d4a 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3} 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Common/UnlitTerrainBase.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52ca4380f2c97ff499b9ee7d6b76010e 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/Common/UnlitTerrainOverlay.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 216e6ab9d64582d469394074328ea1c3 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/ShaderGraphs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba2277d7866cbd047a3313a36ddaee43 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders/ShaderGraphs/Lit.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a861d50b015f60040b6ce3611311939c 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Runtime/Shaders/ShaderGraphs/SubGraphs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a0568e7d747aa0469f7e07d48d6a812 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders/ShaderGraphs/SubGraphs/BaseColor.shadersubgraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91f0fe875f662064793e82e71fb6c8e1 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime/Shaders/ShaderGraphs/SubGraphs/TextureTransform.shadersubgraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f217b6752a826e409fbddcc6514a4a7 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime/Shaders/ShaderGraphs/Unlit.shadergraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35f40f1b6c1b451479f4c78a25d549be 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Runtime/Unity.Geospatial.Streaming.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Unity.Geospatial.Streaming", 3 | "rootNamespace": "Unity.Geospatial.Streaming", 4 | "references": [ 5 | "Unity.Geospatial.HighPrecision", 6 | "glTFast", 7 | "glTFastSchema", 8 | "Unity.InputSystem", 9 | "Unity.Mathematics", 10 | "Unity.Burst" 11 | ], 12 | "includePlatforms": [], 13 | "excludePlatforms": [], 14 | "allowUnsafeCode": true, 15 | "overrideReferences": true, 16 | "precompiledReferences": [ 17 | "Newtonsoft.Json.dll" 18 | ], 19 | "autoReferenced": true, 20 | "defineConstraints": [], 21 | "versionDefines": [], 22 | "noEngineReferences": false 23 | } -------------------------------------------------------------------------------- /Runtime/Unity.Geospatial.Streaming.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4168003f07c11c4185984b95b5ceb12 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /catalog-info.txt: -------------------------------------------------------------------------------- 1 | # For more information about the available options please visit: http://go/backstage (VPN required) 2 | apiVersion: backstage.io/v1alpha1 3 | kind: Component 4 | metadata: 5 | annotations: 6 | github.com/project-slug: Unity-Technologies/com.unity.gis.streaming-framework 7 | name: com.unity.gis.streaming-framework 8 | description: "A streaming framework for geospatial data" 9 | labels: 10 | costcenter: "5029" 11 | tags: 12 | - planned-public 13 | links: 14 | - url: https://unity.slack.com/messages/C01RU3BHA3S/ 15 | title: "#aa-geospatial-devs" 16 | icon: chat 17 | spec: 18 | type: unity-package 19 | lifecycle: experimental 20 | owner: unity-technologies/dt-3d-data-streaming 21 | -------------------------------------------------------------------------------- /catalog-info.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c011db8b3aa385547a874cfeecf23750 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.unity.gis.streaming-framework", 3 | "version": "1.0.0", 4 | "displayName": "Unity Geospatial Streaming", 5 | "description": "A streaming framework to allow the visualization of large geospatial datasets", 6 | "unity": "2020.3", 7 | "unityRelease": "23f1", 8 | "dependencies": { 9 | "com.unity.modules.unitywebrequest": "1.0.0", 10 | "com.unity.mathematics": "1.2.6", 11 | "com.unity.burst": "1.7.1", 12 | "com.unity.gis.high-precision-framework": "1.0.0", 13 | "com.atteneder.gltfast": "4.6.0", 14 | "com.unity.nuget.newtonsoft-json": "2.0.0" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50cee7cd1853222419f69a5eae345a9e 3 | PackageManifestImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | --------------------------------------------------------------------------------