Skip to content
GuidesToolkitAPI

Surface

Surface = object

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

The ground/elevation surface (terrain) of a 3D <Scene>.

optional elevationExaggeration?: number

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

Vertical exaggeration multiplier (default 1).


optional elevationSources?: ElevationSource[]

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

Tiled elevation sources stacked to build the terrain.


optional navigationConstraint?: "stayAbove" | "unconstrained"

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

Whether the camera stays above the surface (stayAbove) or can go below it (unconstrained), as augmented reality views need.

'stayAbove'

optional opacity?: number

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

The surface’s opacity, basemap included, from 0 to 1. Augmented reality views make it 0, so the camera feed shows through.

1