UAIPerceptionStimuliSourceComponent

Gives owning actor a way to auto-register as perception system's sense stimuli source

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Protected variable

uint32: 1

 

bAutoRegisterAsSource

Protected variable

uint32: 1

 

bSuccessfullyRegistered

Protected variable

TArray< TSubcla...

 

RegisterAsSourceForSenses

Constructors

Name Description

Public function

UAIPerceptionStimuliSourceComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

RegisterForSense

(
    TSubclassOf< UAISense > SenseClass
)

Registers owning actor as source for specified sense class

Public function

void

 

RegisterWithPerceptionSystem()

Registers owning actor as source of stimuli for senses specified in RegisterAsSourceForSenses.

Public function

void

 

UnregisterFromPerceptionSystem()

Unregister owning actor from being a source of sense stimuli

Public function

void

 

UnregisterFromSense

(
    TSubclassOf< UAISense > SenseClass
)

Unregisters owning actor from sources list of a specified sense class

Overridden from UActorComponent

Name Description

Protected function Virtual

void

 

OnRegister()

Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally