| UViewportInteractor::GetHitResultFromLaserPointer()
|
Module |
|
Header |
/Engine/Source/Editor/VREditor/Public/VREditorInteractor.h |
Include |
#include "VREditorInteractor.h" |
virtual FHitResult GetHitResultFromLaserPointer
(
TArray< AActor * > * OptionalListOfIgnoredActors,
const EHitResultGizmoFilterMode GizmoFilterMode,
TArray< UClass * > * ObjectsInFrontOfGizmo,
const bool bEvenIfBlocked,
const float LaserLengthOverride
)
Traces along the laser pointer vector and returns what it first hits in the world
What the laster pointer hit
Parameter |
Description |
---|---|
OptionalListOfIgnoredActors |
Actors to exclude from hit testing |
GizmoFilterMode |
filters the types of gizmos for the hit test |
bEvenIfUIIsInFront |
If true, ignores any UI that might be blocking the ray |
LaserLengthOverride |
If zero the default laser length (VREdMode::GetLaserLength) is used |