Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception
Inheritance Hierarchy
- UActorComponent
- UAIPerceptionStimuliSourceComponent
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionStimuliSourceComponent.h |
| Include | #include "Perception/AIPerceptionStimuliSourceComponent.h" |
Syntax
UCLASS (ClassGroup=AI, HideCategories=(Activation, Collision), Meta=(BlueprintSpawnableComponent),
Config=Game, MinimalAPI)
class UAIPerceptionStimuliSourceComponent : public UActorComponent
Remarks
Gives owning actor a way to auto-register as perception system's sense stimuli source
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bAutoRegisterAsSource | ||
| uint32: 1 | bSuccessfullyRegistered | ||
| TArray< TSubclassOf< UAISense > > | RegisterAsSourceForSenses |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAIPerceptionStimuliSourceComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnRegister () |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | RegisterForSense
(
TSubclassOf< UAISense > SenseClass |
Registers owning actor as source for specified sense class | |
| void | Registers owning actor as source of stimuli for senses specified in RegisterAsSourceForSenses. | ||
| void | Unregister owning actor from being a source of sense stimuli | ||
| void | UnregisterFromSense
(
TSubclassOf< UAISense > SenseClass |
Unregisters owning actor from sources list of a specified sense class |