XPLMProbeInfo_t

XPLMProbeInfo_t contains the results of a probe call. Make sure to set structSize to the size of the struct before using it.

typedef struct {
     // Size of structure in bytes - always set this before calling the XPLM.
     int                       structSize;
     // Resulting X location of the terrain point we hit, in local OpenGL coordinates.
     float                     locationX;
     // Resulting Y location of the terrain point we hit, in local OpenGL coordinates.
     float                     locationY;
     // Resulting Z location of the terrain point we hit, in local OpenGL coordinates.
     float                     locationZ;
     // X component of the normal vector to the terrain we found.
     float                     normalX;
     // Y component of the normal vector to the terrain we found.
     float                     normalY;
     // Z component of the normal vector to the terrain we found.
     float                     normalZ;
     // X component of the velocity vector of the terrain we found.
     float                     velocityX;
     // Y component of the velocity vector of the terrain we found.
     float                     velocityY;
     // Z component of the velocity vector of the terrain we found.
     float                     velocityZ;
     // Tells if the surface we hit is water (otherwise it is land).
     int                       is_wet;
} XPLMProbeInfo_t;