Skip to content
GuidesToolkitAPI

WorldScaleSceneViewProps

WorldScaleSceneViewProps = ArSceneViewProps & object

Defined in: packages/expo-arcgis-toolkit/src/WorldScaleSceneView.tsx:20

optional calibrationButtonAlignment?: CalibrationButtonAlignment

Where the calibration button sits.

'bottom'

ios

optional calibrationViewHidden?: boolean

Hides the Toolkit’s calibration view, which lets the user adjust heading and elevation.

false

ios

optional clippingDistance?: number

Clips the scene to this many meters around the camera; none when unset.

optional onCalibratingChange?: (isCalibrating) => void

Called when the user starts or stops calibrating.

boolean

void

ios

optional onInitializationStatusChange?: (status) => void

Called as initialization goes: initializing, initialized, or failed.

ArInitializationStatus

void

android — the Swift Toolkit reports no status.

optional onTrackingErrorChange?: (error) => void

Called when tracking fails, with the error, and with null once it recovers.

string | null

void

android

optional trackingMode?: "worldTracking" | "geoTracking" | "preferGeoTracking"

How ARKit tracks the world (the Swift Toolkit’s AppleWorldTracking.Mode):

  • worldTracking: the device’s location and compass;
  • geoTracking: Apple’s geo tracking, where it is available;
  • preferGeoTracking: geo tracking where it is available, world tracking elsewhere.
'worldTracking'

ios — on Android, see worldScaleTrackingMode.

optional worldScaleTrackingMode?: "world" | "geospatial"

How ARCore tracks the world (the Kotlin Toolkit’s WorldScaleTrackingMode):

  • world: the device’s location and compass;
  • geospatial: Google’s Geospatial API, where Street View covers the area. It needs a Google Cloud API key with the ARCore API: the config plugin’s ar.arcoreApiKey.
'world'

android — on iOS, see trackingMode.