The XMeshRayIntersectionInfo type exposes the following members.

Properties

  NameDescription
Distance
Gets or sets the intersection distance from the ray origin.
FaceIndex
Gets or sets the index of the intersected triangle face.
FaceNormals
Gets or sets the vertex normals of the intersected face.
FaceU
Gets or sets the U coordinate of the intersection with the face in the UV triangle coordinate system.
FaceV
Gets or sets the V coordinate of the intersection with the face in the UV triangle coordinate system.
FaceVertexIndices
Gets or sets the vertex indices of the intersected face.
FaceVertices
Gets or sets the vertices of the intersected face.
IsTransparent
Gets or sets whether the intersection point is transparent (is rendered as the transparent material).
Mesh
Gets or sets the mesh that has been intersected by the ray.
MeshSubset
Gets or sets the mesh part that has been intersected by the ray.
Normal
Gets or sets the normal of the intersection.
Position
Gets or sets a position of the intersection.
Ray
Gets or sets the XRay ray used for intersection testing.

See Also