ToolSceneQueriesUtil::FindNearestVisibleObjectHit

Overload list

Windows
MacOS
Linux
Name Description

Public function

bool

 

ToolSceneQueriesUtil::FindNearestVisibleObjectHit

(
    UWorld* World,
    FHitResult& HitResultOut,
    const FRay& Ray,
    const TArray< UPrimitiveComponent&...,
    const TArray< UPrimitiveComponent&...
)

Find the nearest object hit by the LineTrace from Start to End that is currently visible (provides correct result in Editor)

Public function

bool

 

ToolSceneQueriesUtil::FindNearestVisibleObjectHit

(
    UWorld* World,
    FHitResult& HitResultOut,
    const FVector& Start,
    const FVector& End,
    const TArray< UPrimitiveComponent&...,
    const TArray< UPrimitiveComponent&...
)

Find the nearest object hit by the LineTrace from Start to End that is currently visible (provides correct result in Editor)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss