I am using ArcGISRuntime WPF 100.13.0.
I am trying to import a scene layer package (.slpk) that I created in ArcGis Pro from a LAS file.
Everything load, no error message. The scene move to the extend of the layer but nothing show up.
Here is the code I use (mostly taken from the exemple appart that I'm am trying to load a local file.)
SceneMapView is my scene create in xaml.
private const string ElevationServiceUrl = "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer";
async void loadPointCloud()
{
// Create a surface and add the elevation service to it.
Surface groundSurface = new Surface();
groundSurface.ElevationSources.Add(new ArcGISTiledElevationSource(new Uri(ElevationServiceUrl)));
// Add the surface to the scene.
SceneMapView.Scene.BaseSurface = groundSurface;
string pointCloudPath = "D:\\LAS\\Run2_1_right.slpk";
PointCloudLayer test = new PointCloudLayer(new Uri(pointCloudPath));
SceneMapView.Scene.OperationalLayers.Add(test);
await test.LoadAsync();
await SceneMapView.SetViewpointAsync(new Viewpoint(test.FullExtent));
}