We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d11e5 commit 5f56d4dCopy full SHA for 5f56d4d
Shared/Samples/Add 3D tiles layer/Add3DTilesLayerView.swift
@@ -37,8 +37,11 @@ struct Add3DTilesLayerView: View {
37
// Sets the surface to the scene's base surface.
38
scene.baseSurface = surface
39
40
- // Adds a OGC 3D tiles layer from a URL to the scene's operational layers.
41
- scene.addOperationalLayer(OGC3DTilesLayer(url: .stuttgart3DTiles))
+ // Creates an OGC 3D tiles layer from a 3D tiles service URL.
+ let ogc3DTileslayer = OGC3DTilesLayer(url: .stuttgart3DTiles)
42
+
43
+ // Adds the layer to the scene's operational layers.
44
+ scene.addOperationalLayer(ogc3DTileslayer)
45
return scene
46
}()
47
0 commit comments