/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ToolSceneQueriesUtil.h
Find the nearest object hit by the LineTrace from Start to End that is currently visible (provides correct result in Editor)
true if a visible hit was found
namespace ToolSceneQueriesUtil { bool ToolSceneQueriesUtil::FindNearestVisibleObjectHit ( const [UInteractiveTool](API\Runtime\InteractiveToolsFramework\UInteractiveTool) * Tool, [FHitResult](API\Runtime\Engine\Engine\FHitResult) & HitResultOut, const FRay & Ray, const [TArray](API\Runtime\Core\Containers\TArray)< const [UPrimitiveComponent](API\Runtime\Engine\Components\UPrimitiveComponent) * > * IgnoreComponents, const [TArray](API\Runtime\Core\Containers\TArray)< const [UPrimitiveComponent](API\Runtime\Engine\Components\UPrimitiveComponent) * > * InvisibleComponentsToInclude ) }