# UmbraRayQueryResult struct

A structure containing results of a successful ray query.

## Public variables

- UmbraFloat3 intersectionPoint
- The intersection point in world space.
- UmbraFloat2 textureCoordinate
- The texture coordinate at the intersection point.
- UmbraUserPointer material
- The material referenced by the intersected triangle.
- UmbraUserPointer mesh
- The mesh which contains the intersected triangle.
- UmbraScene* scene
- The scene which contains the intersected mesh.
- int lodLevel
- The LOD of the intersected mesh.
- UmbraFloat3 barycentricCoordinate
- The barycentric coordinates of the intersection.
- float distanceFromOrigin
- The distance from the world space ray origin.
- UmbraBool backface
- The flag describing whether or not the intersection hit the triangle from behind.
- UmbraFloat3 geometricNormal
- The geometric normal vector at the intersection point.
- int triangleIndex
- The index of the intersected triangle.