![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <BehaviorTreeTypes.h>
Public Attributes | |
| TArray< TObjectPtr< UBlackboardKeyType > > | AllowedTypes |
| FName | SelectedKeyName |
| TSubclassOf< UBlackboardKeyType > | SelectedKeyType |
| friend | FBlackboardDecoratorDetails |
Protected Member Functions | |
| AIMODULE_API void | InitSelection (const UBlackboardData &BlackboardAsset) |
Protected Attributes | |
| int32 | SelectedKeyID |
| uint32 | bNoneIsAllowedValue:1 |
helper struct for defining types of allowed blackboard entries (e.g. only entries holding points and objects derived form actor class)
|
inline |
| void FBlackboardKeySelector::AddClassFilter | ( | UObject * | Owner, |
| FName | PropertyName, | ||
| TSubclassOf< UObject > | AllowedClass | ||
| ) |
| void FBlackboardKeySelector::AddEnumFilter | ( | UObject * | Owner, |
| FName | PropertyName, | ||
| UEnum * | AllowedEnum | ||
| ) |
| void FBlackboardKeySelector::AddNativeEnumFilter | ( | UObject * | Owner, |
| FName | PropertyName, | ||
| const FString & | AllowedEnumName | ||
| ) |
| void FBlackboardKeySelector::AddObjectFilter | ( | UObject * | Owner, |
| FName | PropertyName, | ||
| TSubclassOf< UObject > | AllowedClass | ||
| ) |
helper functions for setting basic filters
|
inline |
| void FBlackboardKeySelector::AddStructFilter | ( | UObject * | Owner, |
| FName | PropertyName, | ||
| const UScriptStruct * | AllowedStruct | ||
| ) |
|
inline |
|
protected |
find initial selection. Called when None is not a valid option for this key selector
|
inline |
|
inline |
|
inline |
|
inline |
| void FBlackboardKeySelector::ResolveSelectedKey | ( | const UBlackboardData & | BlackboardAsset | ) |
find ID and class of selected key
| TArray<TObjectPtr<UBlackboardKeyType> > FBlackboardKeySelector::AllowedTypes |
array of allowed types with additional properties (e.g. uobject's base class) EditAnywhere is required for FBlackboardSelectorDetails::CacheBlackboardData()
|
protected |
| friend FBlackboardKeySelector::FBlackboardDecoratorDetails |
|
protected |
ID of selected key
| FName FBlackboardKeySelector::SelectedKeyName |
name of selected key
| TSubclassOf<UBlackboardKeyType> FBlackboardKeySelector::SelectedKeyType |
class of selected key