Skip to content

SceneViewProps

SceneViewProps = object

Defined in: src/ExpoArcgis.types.ts:2401

Props for the <SceneView> host component.

optional atmosphereEffect?: AtmosphereEffect

Defined in: src/ExpoArcgis.types.ts:2421

Atmosphere rendering. Defaults to horizonOnly.


optional camera?: Camera

Defined in: src/ExpoArcgis.types.ts:2404

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


optional cameraController?: CameraController | null

Defined in: src/ExpoArcgis.types.ts:2410

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 grid?: GridConfig | null

Defined in: src/ExpoArcgis.types.ts:2412

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


optional onSceneLoaded?: (event) => void

Defined in: src/ExpoArcgis.types.ts:2425

Called once the scene has finished loading successfully.

MapLoadedEventPayload

void


optional onSceneLoadError?: (event) => void

Defined in: src/ExpoArcgis.types.ts:2427

Called if the scene fails to load.

MapLoadErrorEventPayload

void


optional onTap?: (event) => void

Defined in: src/ExpoArcgis.types.ts:2429

Called when the user taps the scene.

TapEventPayload

void


optional orbitGraphic?: GraphicRef | null

Defined in: src/ExpoArcgis.types.ts:2417

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: src/ExpoArcgis.types.ts:2402


optional sunLighting?: SunLighting

Defined in: src/ExpoArcgis.types.ts:2419

Sun lighting mode (shadows). Defaults to off.


optional sunTime?: number

Defined in: src/ExpoArcgis.types.ts:2423

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