UPawnSensingComponent::ShouldCheckVisibilityOf

Returns true if we should check whether the given Pawn is visible (because we can see things, the Pawn is not hidden, and if the Pawn is a player and we only see players)

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Perception/PawnSensingComponent.h

Include

#include "Perception/PawnSensingComponent.h"

Source

/Engine/Source/Runtime/AIModule/Private/Perception/PawnSensingComponent.cpp

Syntax

virtual bool ShouldCheckVisibilityOf
(
    APawn * Pawn
) const

Remarks

Returns true if we should check whether the given Pawn is visible (because we can see things, the Pawn is not hidden, and if the Pawn is a player and we only see players)

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