Navigation
API > API/Runtime > API/Runtime/AIModule
| Name | FAIStimulus |
| Type | struct |
| Header File | /Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionTypes.h |
| Include Path | #include "Perception/AIPerceptionTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FAIStimulus
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAIStimulus () |
Default constructor | Perception/AIPerceptionTypes.h | |
FAIStimulus
(
const UAISense& Sense, |
This is the recommended constructor. Use others if you know what you're doing. | Perception/AIPerceptionTypes.h |
Enums
Public
| Name | Remarks |
|---|---|
| FResult |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NeverHappenedAge | const float | Perception/AIPerceptionTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ReceiverLocation | FVector | Perception/AIPerceptionTypes.h |
|
|
| StimulusLocation | FVector | Perception/AIPerceptionTypes.h |
|
|
| Strength | float | Perception/AIPerceptionTypes.h |
|
|
| Tag | FName | Perception/AIPerceptionTypes.h |
|
|
| Type | FAISenseID | Perception/AIPerceptionTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AgeStimulus
(
float ConstPerceptionAgingRate |
Perception/AIPerceptionTypes.h | ||
float GetAge() |
Perception/AIPerceptionTypes.h | ||
FString GetDebugDescription() |
Perception/AIPerceptionTypes.h | ||
bool IsActive() |
Perception/AIPerceptionTypes.h | ||
bool IsExpired() |
Perception/AIPerceptionTypes.h | ||
bool IsValid() |
Perception/AIPerceptionTypes.h | ||
void MarkExpired() |
Perception/AIPerceptionTypes.h | ||
void MarkNoLongerSensed() |
Perception/AIPerceptionTypes.h | ||
FAIStimulus & SetExpirationAge
(
float InExpirationAge |
Perception/AIPerceptionTypes.h | ||
FAIStimulus & SetStimulusAge
(
float StimulusAge |
Perception/AIPerceptionTypes.h | ||
FAIStimulus & SetWantsNotifyOnlyOnValueChange
(
bool InEnable |
Perception/AIPerceptionTypes.h | ||
bool WantsToNotifyOnlyOnPerceptionChange() |
Perception/AIPerceptionTypes.h | ||
bool WasSuccessfullySensed() |
Perception/AIPerceptionTypes.h |