Navigation
Unreal Engine C++ API Reference > Editor > ViewportInteraction > UViewportWorldInteraction
References
Module | ViewportInteraction |
Header | /Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h |
Include | #include "ViewportWorldInteraction.h" |
Source | /Engine/Source/Editor/ViewportInteraction/Private/ViewportWorldInteraction.cpp |
void AddActorToExcludeFromHitTests
&40;
AActor &42; ActorToExcludeFromHitTests
&41;
Remarks
Adds an actor to the list of actors to never allow an interactor to hit in the scene. No selection. No hover. There's no need to remove actors from this list. They'll expire from it automatically when destroyed.
Parameters
Name | Description |
---|---|
ActorToExcludeFromHitTests | The actor that should be forever excluded from hit tests |