Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionTypes.h |
| Include | #include "Perception/AIPerceptionTypes.h" |
Syntax
struct FAIStimulus
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Age | ||
| uint32: 1 | bExpired | This means the stimulus was originally created with a "time limit" and this time has passed. | |
| uint32: 1 | bSuccessfullySensed | ||
| uint32: 1 | bWantsToNotifyOnlyOnValueChange | ||
| float | ExpirationAge | ||
| FVector | ReceiverLocation | ||
| FVector | StimulusLocation | ||
| float | Strength | ||
| FName | Tag | ||
| FAISenseID | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAIStimulus () |
Default constructor | ||
FAIStimulus
(
const UAISense& Sense, |
This is the recommended constructor. Use others if you know what you're doing. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AgeStimulus
(
float ConstPerceptionAgingRate |
||
| float | GetAge () |
||
| FString | |||
| bool | IsActive () |
||
| bool | IsExpired () |
||
| bool | IsValid () |
||
| void | MarkExpired () |
||
| void | |||
| FAIStimulus & | SetExpirationAge
(
float InExpirationAge |
||
| FAIStimulus & | SetStimulusAge
(
float StimulusAge |
||
| FAIStimulus & | SetWantsNotifyOnlyOnValueChange
(
bool InEnable |
||
| bool | |||
| bool |
Enums
| Type | Name | Description | |
|---|---|---|---|
| FResult |
Constants
| Name | Description |
|---|---|
| NeverHappenedAge |