UVREditorInteractor::GetHitResultFromLaserPointer

Traces along the laser pointer vector and returns what it first hits in the world

Windows
MacOS
Linux

Override Hierarchy

UViewportInteractor::GetHitResultFromLaserPointer()

UVREditorInteractor::GetHitResultFromLaserPointer()

References

Module

VREditor

Header

/Engine/Source/Editor/VREditor/Public/VREditorInteractor.h

Include

#include "VREditorInteractor.h"

Syntax

virtual FHitResult GetHitResultFromLaserPointer
(
    TArray< AActor * > * OptionalListOfIgnoredActors,
    const EHitResultGizmoFilterMode GizmoFilterMode,
    TArray< UClass * > * ObjectsInFrontOfGizmo,
    const bool bEvenIfBlocked,
    const float LaserLengthOverride
)

Remarks

Traces along the laser pointer vector and returns what it first hits in the world

Returns

What the laster pointer hit

Parameters

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

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