|
Space Plunder
|
#include <AdvancedAIPerceptionComponent.h>
Public Member Functions | |
| UAISenseConfig * | GetPerceptionSenseConfig (const TSubclassOf< UAISense > SenseClass) |
| bool | SetPerceptionSenseConfig (const TSubclassOf< UAISense > SenseClass, const bool DetectEnemies, const bool DetectNeutrals, const bool DetectFriendlies) |
| virtual void | GetNeutralActors (TArray< AActor * > &OutActors) const |
| void | GetNeutralActorsBySense (TSubclassOf< UAISense > SenseToFilterBy, TArray< AActor * > &OutActors) const |
| void | GetPerceivedNeutralActors (TArray< AActor * > &OutActors) const |
| void | GetPerceivedNeutralActorsBySense (const TSubclassOf< UAISense > SenseToUse, TArray< AActor * > &OutActors) const |
| virtual void | GetFriendlyActors (TArray< AActor * > &OutActors) const |
| void | GetFriendlyActorsBySense (TSubclassOf< UAISense > SenseToFilterBy, TArray< AActor * > &OutActors) const |
| void | GetPerceivedFriendlyActors (TArray< AActor * > &OutActors) const |
| void | GetPerceivedFriendlyActorsBySense (const TSubclassOf< UAISense > SenseToUse, TArray< AActor * > &OutActors) const |
| AAIController * | GetOwnerController () const |
| float | GetMaxAge (const TSubclassOf< UAISense > SenseClass) |
| bool | SetMaxAge (const TSubclassOf< UAISense > SenseClass, const float MaxAge) |
| bool | SetSightMaxAge (const float MaxAge) |
| bool | SetHearingMaxAge (const float MaxAge) |
| float | GetSightRange () |
| bool | SetSightRange (const float SightRange) |
| float | GetLoseSightRange () |
| bool | SetLoseSightRange (const float LoseSightRange) |
| float | GetVisionAngle () |
| bool | SetVisionAngle (const float VisionAngle) |
| float | GetAutoSuccessRange () |
| bool | SetAutoSuccessRange (const float AutoSuccessRange) |
| float | GetPOVBackwardOffset () |
| bool | SetPOVBackwardOffset (const float POVBackwardOffset) |
| float | GetNearClippingRadius () |
| bool | SetNearClippingRadius (const float NearClippingRadius) |
| float | GetHearingRange () |
| bool | SetHearingRange (const float HearingRange) |
| FAISenseAffiliationFilter | GetDetectionByAffiliation (const TSubclassOf< UAISense > SenseClass) |
| class UAISenseConfig_Sight * | GetSightConfig () |
| class UAISenseConfig_Hearing * | GetHearingConfig () |
| class UAISenseConfig_Actions * | GetActionsConfig () |
| class UAISenseConfig_Damage * | GetDamageConfig () |
| class UAISenseConfig_Prediction * | GetPredictionConfig () |
| class UAISenseConfig_Team * | GetTeamConfig () |
| class UAISenseConfig_Touch * | GetTouchConfig () |
Public Attributes | |
| FOnForgottenStimulus | OnForgottenStimulus |
Protected Member Functions | |
| virtual void | HandleExpiredStimulus (FAIStimulus &StimulusStore) override |
| bool | ForgetActorBP (AActor *ActorToForget) |
| bool | SetDominantSenseBP (const TSubclassOf< UAISense > SenseClass) |
| TSubclassOf< UAISense > | GetDominantSenseBP () const |
| const AActor * | GetBodyActorBP () const |
| AActor * | GetMutableBodyActorBP () |
| void | GetLocationAndDirectionBP (FVector &Location, FVector &Direction) const |
| FGenericTeamId | GetTeamIdentifierBP () const |
| void | UpdatePerceptionAllowListBP (const TSubclassOf< UAISense > SenseClass, const bool bNewValue) |
| float | GetYoungestStimulusAgeBP (AActor *Source) const |
| bool | HasAnyActiveStimulusBP (const AActor *Source) const |
| bool | HasAnyCurrentStimulusBP (const AActor *Source) const |
| bool | HasActiveStimulusBP (const AActor *Source, const TSubclassOf< UAISense > SenseClass) const |
|
protected |
| UAISenseConfig_Actions * UAdvancedAIPerceptionComponent::GetActionsConfig | ( | ) |
| float UAdvancedAIPerceptionComponent::GetAutoSuccessRange | ( | ) |
|
protected |
| UAISenseConfig_Damage * UAdvancedAIPerceptionComponent::GetDamageConfig | ( | ) |
| FAISenseAffiliationFilter UAdvancedAIPerceptionComponent::GetDetectionByAffiliation | ( | const TSubclassOf< UAISense > | SenseClass | ) |
|
protected |
|
virtual |
| void UAdvancedAIPerceptionComponent::GetFriendlyActorsBySense | ( | TSubclassOf< UAISense > | SenseToFilterBy, |
| TArray< AActor * > & | OutActors ) const |
| UAISenseConfig_Hearing * UAdvancedAIPerceptionComponent::GetHearingConfig | ( | ) |
| float UAdvancedAIPerceptionComponent::GetHearingRange | ( | ) |
|
protected |
| float UAdvancedAIPerceptionComponent::GetLoseSightRange | ( | ) |
| float UAdvancedAIPerceptionComponent::GetMaxAge | ( | const TSubclassOf< UAISense > | SenseClass | ) |
|
protected |
| float UAdvancedAIPerceptionComponent::GetNearClippingRadius | ( | ) |
|
virtual |
| void UAdvancedAIPerceptionComponent::GetNeutralActorsBySense | ( | TSubclassOf< UAISense > | SenseToFilterBy, |
| TArray< AActor * > & | OutActors ) const |
|
inline |
| void UAdvancedAIPerceptionComponent::GetPerceivedFriendlyActors | ( | TArray< AActor * > & | OutActors | ) | const |
| void UAdvancedAIPerceptionComponent::GetPerceivedFriendlyActorsBySense | ( | const TSubclassOf< UAISense > | SenseToUse, |
| TArray< AActor * > & | OutActors ) const |
| void UAdvancedAIPerceptionComponent::GetPerceivedNeutralActors | ( | TArray< AActor * > & | OutActors | ) | const |
| void UAdvancedAIPerceptionComponent::GetPerceivedNeutralActorsBySense | ( | const TSubclassOf< UAISense > | SenseToUse, |
| TArray< AActor * > & | OutActors ) const |
| UAISenseConfig * UAdvancedAIPerceptionComponent::GetPerceptionSenseConfig | ( | const TSubclassOf< UAISense > | SenseClass | ) |
| float UAdvancedAIPerceptionComponent::GetPOVBackwardOffset | ( | ) |
| UAISenseConfig_Prediction * UAdvancedAIPerceptionComponent::GetPredictionConfig | ( | ) |
| UAISenseConfig_Sight * UAdvancedAIPerceptionComponent::GetSightConfig | ( | ) |
| float UAdvancedAIPerceptionComponent::GetSightRange | ( | ) |
| UAISenseConfig_Team * UAdvancedAIPerceptionComponent::GetTeamConfig | ( | ) |
|
protected |
| UAISenseConfig_Touch * UAdvancedAIPerceptionComponent::GetTouchConfig | ( | ) |
| float UAdvancedAIPerceptionComponent::GetVisionAngle | ( | ) |
|
protected |
|
overrideprotectedvirtual |
|
protected |
|
protected |
|
protected |
| bool UAdvancedAIPerceptionComponent::SetAutoSuccessRange | ( | const float | AutoSuccessRange | ) |
|
protected |
| bool UAdvancedAIPerceptionComponent::SetHearingMaxAge | ( | const float | MaxAge | ) |
| bool UAdvancedAIPerceptionComponent::SetHearingRange | ( | const float | HearingRange | ) |
| bool UAdvancedAIPerceptionComponent::SetLoseSightRange | ( | const float | LoseSightRange | ) |
| bool UAdvancedAIPerceptionComponent::SetMaxAge | ( | const TSubclassOf< UAISense > | SenseClass, |
| const float | MaxAge ) |
| bool UAdvancedAIPerceptionComponent::SetNearClippingRadius | ( | const float | NearClippingRadius | ) |
| bool UAdvancedAIPerceptionComponent::SetPerceptionSenseConfig | ( | const TSubclassOf< UAISense > | SenseClass, |
| const bool | DetectEnemies, | ||
| const bool | DetectNeutrals, | ||
| const bool | DetectFriendlies ) |
| bool UAdvancedAIPerceptionComponent::SetPOVBackwardOffset | ( | const float | POVBackwardOffset | ) |
| bool UAdvancedAIPerceptionComponent::SetSightMaxAge | ( | const float | MaxAge | ) |
| bool UAdvancedAIPerceptionComponent::SetSightRange | ( | const float | SightRange | ) |
| bool UAdvancedAIPerceptionComponent::SetVisionAngle | ( | const float | VisionAngle | ) |
|
protected |
Allows toggling senses on and off
| FOnForgottenStimulus UAdvancedAIPerceptionComponent::OnForgottenStimulus |