/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/MeshSceneAdapter.h
FMeshSceneRayHitis returned by various ray-intersection functions below
struct FMeshSceneRayHit
AActor*
HitActor
Actor that was hit, if available.
UActorComponent...
HitComponent
Component that was hit, if available.
int32
HitComponentElementIndex
ElementIndexon hit Component, if available (eg InstanceIndexon an InstancedStaticMesh)
FVector3d
HitMeshBaryCoords
Triangle barycentric coordinates of the hit location.
IMeshSpatialWra...
HitMeshSpatialWrapper
SpatialWrapper for the mesh geometry that was hit, if available. This is a pointer to data owned by theFMeshSceneAdapterthat was queried.
int32
HitMeshTriIndex
Triangle Index/ID on mesh of hit Component.
FTransformSeque...
LocalToWorld
LocalToWorld Transform on theIMeshSpatialWrapper(for convenience)
FRay3d
Ray
World ray that was cast, stored here for convenience
double
RayDistance
Distance along ray that intersection occurred at