Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAIPerceptionStimuliSourceComponent
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionStimuliSourceComponent.h |
| Include | #include "Perception/AIPerceptionStimuliSourceComponent.h" |
Syntax
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 | 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 |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |