WorldScaleSceneViewProps
WorldScaleSceneViewProps =
ArSceneViewProps&object
Defined in: packages/expo-arcgis-toolkit/src/WorldScaleSceneView.tsx:20
Type Declaration
Section titled “Type Declaration”calibrationButtonAlignment?
Section titled “calibrationButtonAlignment?”
optionalcalibrationButtonAlignment?:CalibrationButtonAlignment
Where the calibration button sits.
Default
Section titled “Default”'bottom'Platform
Section titled “Platform”ios
calibrationViewHidden?
Section titled “calibrationViewHidden?”
optionalcalibrationViewHidden?:boolean
Hides the Toolkit’s calibration view, which lets the user adjust heading and elevation.
Default
Section titled “Default”falsePlatform
Section titled “Platform”ios
clippingDistance?
Section titled “clippingDistance?”
optionalclippingDistance?:number
Clips the scene to this many meters around the camera; none when unset.
onCalibratingChange?
Section titled “onCalibratingChange?”
optionalonCalibratingChange?: (isCalibrating) =>void
Called when the user starts or stops calibrating.
Parameters
Section titled “Parameters”isCalibrating
Section titled “isCalibrating”boolean
Returns
Section titled “Returns”void
Platform
Section titled “Platform”ios
onInitializationStatusChange?
Section titled “onInitializationStatusChange?”
optionalonInitializationStatusChange?: (status) =>void
Called as initialization goes: initializing, initialized, or failed.
Parameters
Section titled “Parameters”status
Section titled “status”Returns
Section titled “Returns”void
Platform
Section titled “Platform”android — the Swift Toolkit reports no status.
onTrackingErrorChange?
Section titled “onTrackingErrorChange?”
optionalonTrackingErrorChange?: (error) =>void
Called when tracking fails, with the error, and with null once it recovers.
Parameters
Section titled “Parameters”string | null
Returns
Section titled “Returns”void
Platform
Section titled “Platform”android
trackingMode?
Section titled “trackingMode?”
optionaltrackingMode?:"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.
Default
Section titled “Default”'worldTracking'Platform
Section titled “Platform”ios — on Android, see worldScaleTrackingMode.
worldScaleTrackingMode?
Section titled “worldScaleTrackingMode?”
optionalworldScaleTrackingMode?:"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’sar.arcoreApiKey.
Default
Section titled “Default”'world'Platform
Section titled “Platform”android — on iOS, see trackingMode.