Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception > API/Runtime/AIModule/Perception/IAISightTargetInterface > API/Runtime/AIModule/Perception/IAISightTargetInterface/CanBeSeenFrom
Deprecated * This function is deprecated. Use the new CanBeSeenFrom method signature
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Perception/AISightTargetInterface.h |
| Include | #include "Perception/AISightTargetInterface.h" |
virtual bool CanBeSeenFrom
&40;
const FVector & ObserverLocation,
FVector & OutSeenLocation,
int32 & NumberOfLoSChecksPerformed,
float & OutSightStrength,
const AActor &42; IgnoreActor,
const bool &42; bWasVisible,
int32 &42; UserData
&41; const
Remarks
The method needs to check whether the implementer is visible from given observer's location. True if visible from the observer's location
Parameters
| Name | Description |
|---|---|
| ObserverLocation | The location of the observer |
| OutSeenLocation | The first visible target location |
| OutSightStrength | The sight strength for how well the target is seen |
| IgnoreActor | The actor to ignore when doing test |
| bWasVisible | If available, it is the previous visibility state |
| UserData | If available, it is a data passed between visibility tests for the users to store whatever they want |