X-Plane Developer
Site Menu
  • Blog
  • Scenery Tools
    • Blender
    • Command-Line Tools
    • DataRefEditor
    • MeshTool
    • Substance Painter
    • WorldEditor (WED)
  • Videos
    • 2D Panels & Generic Instruments
    • Creating Airports with WorldEditor
    • Substance Painter Tutorial
  • Documentation
    • Air Traffic Control (ATC)
    • Aircraft
    • FMOD Sound
    • Modeling
    • Plugins
    • Scenery
    • Web APIs
    • Weather
    • Data Development
    • File Format Specifications
    • Requests for Comment
    • Datarefs
  • More
    • X-Plane bug database
    • Scenery Tools Bug Database
    • Paint kits
Search

XPLMProbeTerrainXYZ

X-Plane Developer > SDK Documentation > XPLMScenery > XPLMProbeTerrainXYZ

XPLMProbeTerrainXYZ

XPLM_API XPLMProbeResult XPLMProbeTerrainXYZ(
                         XPLMProbeRef         inProbe,
                         float                inX,
                         float                inY,
                         float                inZ,
                         XPLMProbeInfo_t *    outInfo);

Probes the terrain. Pass in the XYZ coordinate of the probe point, a probe object, and an XPLMProbeInfo_t struct that has its structSize member set properly. Other fields are filled in if we hit terrain, and a probe result is returned.

Contents

  • 1 XPLMProbeTerrainXYZ

X-Plane

Developer resources for the X-Plane flight simulator

FacebookTwitterYouTube

Never miss an update

Sign up for email updates below to get the latest X‑Plane news in your inbox.

We will never sell or share your email address; we’ll only use it to send you X‑Plane-related emails. (More info in our privacy policy.)

You’ll receive about one email a month, and you can unsubscribe at any time.

© X-Plane 2025
Privacy Policy