Skip to content

Commit 96878b7

Browse files
committed
Update WorldTrackingSceneView tutorial
1 parent db33b91 commit 96878b7

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

Sources/ArcGISToolkit/Documentation.docc/Resources/WorldScaleSceneView/WorldScaleSceneViewStep1.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import ArcGISToolkit
55
struct WorldScaleExampleView: View {
66
var body: some View {
77
WorldScaleSceneView(
8-
clippingDistance: 400,
9-
trackingMode: .worldScale
8+
clippingDistance: 400
109
)
1110
}
1211
}

Sources/ArcGISToolkit/Documentation.docc/Resources/WorldScaleSceneView/WorldScaleSceneViewStep2.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ struct WorldScaleExampleView: View {
2020

2121
var body: some View {
2222
WorldScaleSceneView(
23-
clippingDistance: 400,
24-
trackingMode: .worldScale
23+
clippingDistance: 400
2524
) { _ in
2625
SceneView(scene: scene)
2726
}

Sources/ArcGISToolkit/Documentation.docc/Resources/WorldScaleSceneView/WorldScaleSceneViewStep3.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ struct WorldScaleExampleView: View {
2121

2222
var body: some View {
2323
WorldScaleSceneView(
24-
clippingDistance: 400,
25-
trackingMode: .worldScale
24+
clippingDistance: 400
2625
) { _ in
2726
SceneView(scene: scene)
2827
}

Sources/ArcGISToolkit/Documentation.docc/Resources/WorldScaleSceneView/WorldScaleSceneViewStep4.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ struct WorldScaleExampleView: View {
2121

2222
var body: some View {
2323
WorldScaleSceneView(
24-
clippingDistance: 400,
25-
trackingMode: .worldScale
24+
clippingDistance: 400
2625
) { _ in
2726
SceneView(scene: scene)
2827
}

Sources/ArcGISToolkit/Documentation.docc/Tutorials/WorldScaleSceneViewTutorial.tutorial

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@Steps {
1313
@Step {
14-
Initialize a `WorldScaleSceneView`. Specify the clipping distance and tracking mode.
14+
Initialize a `WorldScaleSceneView`. Specify the clipping distance. The tracking mode is set to `worldTracking` by default.
1515

1616
The clipping distance is the distance in meters that the ArcGIS Scene data will be clipped to.
1717
The tracking mode determines the type of tracking configuration that will be used by the AR view.

0 commit comments

Comments
 (0)