Skip to content
GuidesToolkitAPI

SceneViewProps

SceneViewProps = object

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3080

Props for the <SceneView> host component.

optional atmosphereEffect?: AtmosphereEffect

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3100

Atmosphere rendering. Defaults to horizonOnly.


optional camera?: Camera

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3083

Animates the view to this 3D camera whenever the value changes (runtime camera control).


optional cameraController?: CameraController | null

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3089

Swaps the scene’s camera-control mode. Omit (or pass null) to use the SDK default.

  • { type: 'orbitLocation', target, distance } — orbit around a fixed point.
  • { type: 'globe' } — free globe navigation.

optional container?: SceneViewContainer | null

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3121

A view of a package built on expo-arcgis that shows the scene instead of the plain scene view: expo-arcgis-toolkit’s augmented reality views pass theirs. It controls the camera, so camera and cameraController don’t apply, and the view shows no accessories; on Android, no <Callout> either. Apps use those views rather than set it.


optional grid?: GridConfig | null

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3091

Coordinate-grid overlay (MGRS / UTM / USNG / latitude-longitude). null / omitted = none.


optional onSceneLoaded?: (event) => void

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3110

Called once the scene has finished loading successfully.

MapLoadedEventPayload

void


optional onSceneLoadError?: (event) => void

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3112

Called if the scene fails to load.

MapLoadErrorEventPayload

void


optional onTap?: (event) => void

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3114

Called when the user taps the scene.

TapEventPayload

void


optional orbitGraphic?: GraphicRef | null

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3096

The graphic to orbit when cameraController is { type: 'orbitGeoElement' } — the camera follows this <Graphic> as it moves. Pass the ref obtained from <Graphic ref>.


optional style?: StyleProp<ViewStyle>

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3081


optional sunLighting?: SunLighting

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3098

Sun lighting mode (shadows). Defaults to off.


optional sunTime?: number

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3102

Sun position, as epoch milliseconds (affects shadow direction).


optional timeExtent?: { endTime: number; startTime: number; } | null

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:3108

Filters time-aware layers to this time window. Both values are epoch milliseconds (UTC). Pass null / omit to show all time steps (no filter). Maps to GeoView.timeExtent / SceneView(timeExtent:) on both platforms.