UViewportWorldInteraction::AddActorToExcludeFromHitTests

Adds an actor to the list of actors to never allow an interactor to hit in the scene.

Windows
MacOS
Linux

References

Module

ViewportInteraction

Header

/Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h

Include

#include "ViewportWorldInteraction.h"

Syntax

void AddActorToExcludeFromHitTests
(
    AActor * ActorToExcludeFromHitTests
)

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

Parameter

Description

ActorToExcludeFromHitTests

The actor that should be forever excluded from hit tests

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