Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Info.plist
README.md
README.metadata.json
SurfacePlacement.pro
Surface_Placement.cpp
Surface_Placement.h
Surface_Placement.json
Surface_Placement.qml
Surface_Placement.qrc
arcgisruntime.pri
main.cpp
screenshot.png

README.md

Surface placement

This sample demonstrates how to control the surface placement of a 3D graphic. Graphics can either be placed relative to the elevation surface (RELATIVE), relative to sea level (ABSOLUTE), or draped over the elevation surface (DRAPED).

How it works

Graphics in 3D can be displayed in 3 different surface placement modes: draped, relative, or absolute. Draped mode will display the graphic draped over the scene's surface, regardless of the z-value that is set on the geometry. Relative mode will display the graphic by the associated geometry's z-value, relative to the scene's surface (the ground elevation). Absolute mode will display the graphic by the associated geometry'z absolute z-value, relative to sea level. The surface placement is set on the graphics overlay by setting its sceneProperties surfacePlacement. All graphics added to the overlay will display using the specified surface placement mode.

Features

  • SceneView
  • Scene
  • Viewpoint
  • Camera
  • Graphic
  • GraphicsOverlay
  • SimpleMarkerSymbol
  • TextSymbol
  • Point
You can’t perform that action at this time.