TableTopSceneView

fun TableTopSceneView(    arcGISScene: ArcGISScene,     arcGISSceneAnchor: Point,     translationFactor: Double,     modifier: Modifier = Modifier,     clippingDistance: Double? = null,     onInitializationStatusChanged: (TableTopSceneViewStatus) -> Unit? = null,     requestCameraPermissionAutomatically: Boolean = true,     onViewpointChangedForCenterAndScale: (Viewpoint) -> Unit? = null,     onViewpointChangedForBoundingGeometry: (Viewpoint) -> Unit? = null,     graphicsOverlays: List<GraphicsOverlay> = remember { emptyList() },     tableTopSceneViewProxy: TableTopSceneViewProxy = remember { TableTopSceneViewProxy() },     viewLabelProperties: ViewLabelProperties = remember { ViewLabelProperties() },     selectionProperties: SelectionProperties = remember { SelectionProperties() },     isAttributionBarVisible: Boolean = true,     onAttributionTextChanged: (String) -> Unit? = null,     onAttributionBarLayoutChanged: (AttributionBarLayoutChangeEvent) -> Unit? = null,     analysisOverlays: List<AnalysisOverlay> = remember { emptyList() },     imageOverlays: List<ImageOverlay> = remember { emptyList() },     timeExtent: TimeExtent? = null,     onTimeExtentChanged: (TimeExtent?) -> Unit? = null,     sunTime: Instant = SceneViewDefaults.DefaultSunTime,     sunLighting: LightingMode = LightingMode.NoLight,     ambientLightColor: Color = SceneViewDefaults.DefaultAmbientLightColor,     onNavigationChanged: (isNavigating: Boolean) -> Unit? = null,     onSpatialReferenceChanged: (spatialReference: SpatialReference?) -> Unit? = null,     onLayerViewStateChanged: (GeoView.GeoViewLayerViewStateChanged) -> Unit? = null,     onInteractingChanged: (isInteracting: Boolean) -> Unit? = null,     onCurrentViewpointCameraChanged: (camera: Camera) -> Unit? = null,     onRotate: (RotationChangeEvent) -> Unit? = null,     onScale: (ScaleChangeEvent) -> Unit? = null,     onUp: (UpEvent) -> Unit? = null,     onDown: (DownEvent) -> Unit? = null,     onSingleTapConfirmed: (SingleTapConfirmedEvent) -> Unit? = null,     onDoubleTap: (DoubleTapEvent) -> Unit? = null,     onLongPress: (LongPressEvent) -> Unit? = null,     onTwoPointerTap: (TwoPointerTapEvent) -> Unit? = null,     onPan: (PanChangeEvent) -> Unit? = null,     content: @Composable TableTopSceneViewScope.() -> Unit? = null)

A scene view that provides an augmented reality table top experience.

Note: You must follow Google's user privacy requirements for ARCore when using TableTopSceneView in your application.

Since

200.6.0

Parameters

arcGISScene

the ArcGISScene to be rendered by this TableTopSceneView.

arcGISSceneAnchor

the Point in the ArcGISScene used to anchor the scene with a physical surface.

translationFactor

determines how many meters the scene view translates as the device moves. A useful formula for determining this value is translation factor = virtual content width / desired physical content width. The virtual content width is the real-world size of the scene content and the desired physical content width is the physical table top width. The virtual content width is determined by the clippingDistance in meters around the arcGISSceneAnchor. For example, in order to setup a table top scene where scene data should be displayed within a 400 meter radius around the arcGISSceneAnchor and be placed on a table top that is 1 meter wide: translation factor = 400 meter / 1 meter.

modifier

Modifier to be applied to the TableTopSceneView.

clippingDistance

the clipping distance in meters around the arcGISSceneAnchor. A null value means that no data will be clipped.

onInitializationStatusChanged

a callback that is invoked when the initialization status of the TableTopSceneView changes.

requestCameraPermissionAutomatically

whether to request the camera permission automatically. If set to true, the camera permission will be requested automatically when the composable is first displayed. The default value is true. Set to false if your application takes care of requesting camera permissions before displaying the TableTopSceneView.

onViewpointChangedForCenterAndScale

lambda invoked when the viewpoint changes, passing a viewpoint type of ViewpointType.CenterAndScale.

onViewpointChangedForBoundingGeometry

lambda invoked when the viewpoint changes, passing a viewpoint type of ViewpointType.BoundingGeometry.

graphicsOverlays

graphics overlays used by this TableTopSceneView.

tableTopSceneViewProxy

the TableTopSceneViewProxy to associate with the TableTopSceneView.

viewLabelProperties

the ViewLabelProperties used by the TableTopSceneView.

selectionProperties

the SelectionProperties used by the TableTopSceneView.

isAttributionBarVisible

true if attribution bar is visible in the TableTopSceneView, false otherwise.

onAttributionTextChanged

lambda invoked when the attribution text of the TableTopSceneView has changed.

onAttributionBarLayoutChanged

lambda invoked when the attribution bar's position or size changes.

analysisOverlays

analysis overlays that render the results of 3D visual analysis on the TableTopSceneView.

imageOverlays

image overlays for displaying images in the TableTopSceneView.

timeExtent

the TimeExtent used by the TableTopSceneView.

onTimeExtentChanged

lambda invoked when the TableTopSceneView's TimeExtent is changed.

sunTime

the position of the sun in the TableTopSceneView based on a specific date and time.

sunLighting

the type of ambient sunlight and shadows in the TableTopSceneView.

ambientLightColor

the color of the TableTopSceneView's ambient light.

onNavigationChanged

lambda invoked when the navigation status of the TableTopSceneView has changed.

onSpatialReferenceChanged

lambda invoked when the spatial reference of the TableTopSceneView has changed.

onLayerViewStateChanged

lambda invoked when the TableTopSceneView's layer view state is changed.

onInteractingChanged

lambda invoked when the user starts and ends interacting with the TableTopSceneView.

onCurrentViewpointCameraChanged

lambda invoked when the viewpoint camera of the TableTopSceneView has changed.

onRotate

lambda invoked when a user performs a rotation gesture on the TableTopSceneView.

onScale

lambda invoked when a user performs a pinch gesture on the TableTopSceneView.

onUp

lambda invoked when the user removes all their pointers from the TableTopSceneView.

onDown

lambda invoked when the user first presses on the TableTopSceneView.

onSingleTapConfirmed

lambda invoked when the user taps once on the TableTopSceneView.

onDoubleTap

lambda invoked the user double taps on the TableTopSceneView.

onLongPress

lambda invoked when a user holds a pointer on the TableTopSceneView.

onTwoPointerTap

lambda invoked when a user taps two pointers on the TableTopSceneView.

onPan

lambda invoked when a user drags a pointer or pointers across TableTopSceneView.

content

the content of the TableTopSceneView.