Keep the camera from ever going under the terrain: enforce a minimum camera
height of marginM metres (default 2) above the rendered DEM, on every
camera update (gestures, inertia, animations, programmatic moves).
Applied automatically by the SDK terrain entry points (addEsriTerrain /
createEsriTerrain, see their cameraFloor option) — reach for this
directly only when managing terrain yourself.
Holds are refcounted per map; the effective margin is the MAX of the active
holds. A FirstPersonNav height lock supersedes the floor while engaged.
Keep the camera from ever going under the terrain: enforce a minimum camera height of
marginMmetres (default 2) above the rendered DEM, on every camera update (gestures, inertia, animations, programmatic moves).Applied automatically by the SDK terrain entry points (
addEsriTerrain/createEsriTerrain, see theircameraFlooroption) — reach for this directly only when managing terrain yourself.Holds are refcounted per map; the effective margin is the MAX of the active holds. A FirstPersonNav height lock supersedes the floor while engaged.