Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAISense
- UAISense_Blueprint
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Perception/AISense_Blueprint.h |
| Include | #include "Perception/AISense_Blueprint.h" |
Syntax
class UAISense_Blueprint : public UAISense
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UAIPerceptionComponent > > | ListenerContainer | ||
| TSubclassOf< UUserDefinedStruct > | ListenerDataType | ||
| TArray< TObjectPtr< UAISenseEvent > > | UnprocessedEvents |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAISense_Blueprint
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetAllListenerActors
(
TArray< AActor* >& ListenerActors |
||
| void | GetAllListenerComponents
(
TArray< UAIPerceptionComponent* >& ListenerComponents |
||
| void | K2_OnNewPawn
(
APawn* NewPawn |
Called when sense's instance gets notified about new pawn that has just been spawned | |
| void | OnListenerRegistered
(
AActor* ActorListener, |
||
| void | OnListenerRemovedImpl
(
const FPerceptionListener& UpdatedListener |
||
| void | OnListenerUnregistered
(
AActor* ActorListener, |
Called when a listener unregistered from this sense. Most often this is called due to actor's death | |
| void | OnListenerUpdated
(
AActor* ActorListener, |
||
| void | OnListenerUpdateImpl
(
const FPerceptionListener& UpdatedListener |
||
| void | OnNewListenerImpl
(
const FPerceptionListener& NewListener |
||
| float | OnUpdate
(
const TArray< UAISenseEvent* >& EventsToProcess |
Returns requested amount of time to pass until next frame. |
Overridden from UAISense
| Type | Name | Description | |
|---|---|---|---|
| void | Gets called when perception system gets notified about new spawned pawn. | ||
| void | RegisterWrappedEvent
(
UAISenseEvent& PerceptionEvent |
||
| float | Update () |
||
| FAISenseID |
Constants
| Name | Description |
|---|---|
| BPSenseToSenseID |