Navigation
API > API/Runtime > API/Runtime/AIModule
Gives owning actor a way to auto-register as perception system's sense stimuli source
| Name | UAIPerceptionStimuliSourceComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionStimuliSourceComponent.h |
| Include Path | #include "Perception/AIPerceptionStimuliSourceComponent.h" |
Syntax
UCLASS (ClassGroup=AI, HideCategories=(Activation, Collision), Meta=(BlueprintSpawnableComponent),
Config=Game, MinimalAPI)
class UAIPerceptionStimuliSourceComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UAIPerceptionStimuliSourceComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAIPerceptionStimuliSourceComponent
(
const FObjectInitializer& ObjectInitializer |
Perception/AIPerceptionStimuliSourceComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RegisterForSense
(
TSubclassOf< UAISense > SenseClass |
Registers owning actor as source for specified sense class | Perception/AIPerceptionStimuliSourceComponent.h |
|
void RegisterWithPerceptionSystem () |
Registers owning actor as source of stimuli for senses specified in RegisterAsSourceForSenses. | Perception/AIPerceptionStimuliSourceComponent.h |
|
void UnregisterFromPerceptionSystem() |
Unregister owning actor from being a source of sense stimuli | Perception/AIPerceptionStimuliSourceComponent.h |
|
void UnregisterFromSense
(
TSubclassOf< UAISense > SenseClass |
Unregisters owning actor from sources list of a specified sense class | Perception/AIPerceptionStimuliSourceComponent.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Perception/AIPerceptionStimuliSourceComponent.h |
Protected
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnRegister() |
Perception/AIPerceptionStimuliSourceComponent.h |