50 results for "blackboard"
A component that stores key-value pairs for AI decision-making.
Stores a pointer to the given brain component so it can be retrieved later via GetBrainComponent, used for communication back to the tree that owns this blackboard.
Resets the value stored under the given blackboard key to its type's default/unset state, notifying any registered observers if the value changed.
Compares the values stored under two keys using KeyType's comparison logic, returning Less, Equal, or Greater.
Copies the raw value stored under SourceKeyID into DestinationID and returns true if the copy succeeded.
Returns a human-readable description of the value stored under KeyName, formatted according to Mode.
Appends the blackboard's current key/value state to a Visual Logger snapshot, so it shows up in the Visual Logger tool alongside other AI debug data.
Returns the blackboard data asset currently in use by this component, defining its available keys and their types.
Returns the behavior tree (or other brain) component associated with this blackboard, as previously set via CacheBrainComponent.
Builds a multi-line debug string describing every key and its current value, formatted according to Mode.
Converts a blackboard key name into its numeric FKey ID, which is the form used by the fast RegisterObserver, GetValue, and SetValue overloads.
Returns the name of the blackboard key with the given ID, as defined on the blackboard data asset.
Returns a raw pointer to the key's value bytes inside the blackboard's internal value buffer, for direct low-level access.
Returns the UBlackboardKeyType subclass (Bool, Int, Float, Object, Vector, and so on) used to store the value under the given key.
Resolves a world location from the given blackboard key, whether it's a Vector key or an Object/Actor key, and writes it to ResultLocation.
Returns the number of key entries defined on the blackboard's data asset, including keys inherited from parent blackboard assets.
Resolves a rotation from the given blackboard key, whether it's a Rotator key or an Object/Actor key, and writes it to ResultRotation.
Reads the value stored under the given key, decoded as the type described by the TDataClass template argument.
Returns the boolean value stored under the given blackboard key.
Returns the UClass value stored under the given blackboard key.
Returns the raw enum value stored under the given blackboard key as a uint8.
Returns the float value stored under the given blackboard key.
Returns the integer value stored under the given blackboard key.
Returns the FName value stored under the given blackboard key.
Returns the UObject stored under the given blackboard key, or null if the key doesn't exist or holds no value.
Returns the FRotator value stored under the given blackboard key.
Returns the string value stored under the given blackboard key.
Returns the FVector stored under the given blackboard key.
Returns true if the component currently has a valid, initialized blackboard data asset assigned.
Sets up the component to use the given blackboard data asset, allocating value storage for its keys.
Overrides UActorComponent::InitializeComponent to set up the blackboard's default asset (DefaultBlackboardAsset) if one hasn't already been assigned via InitializeBlackboard.
Returns true if the given blackboard data asset can be used with this component, meaning it matches or derives from the currently assigned asset.
Returns true if the key is marked as instance-synced, meaning its value is automatically mirrored across all blackboard components sharing the same asset.
Returns true if the named key's underlying value type matches the given UBlackboardKeyType subclass, specified as the template argument.
Checks whether KeyID refers to a valid entry in the component's blackboard asset.
Returns true if the vector value under the given key has actually been set (rather than left at its default invalid state).
Suspends dispatch of blackboard change notifications; any key changes made while paused are queued rather than immediately broadcast to observers.
Registers a delegate that fires whenever the value under the given key changes, the mechanism behind behavior tree decorator observer aborts.
Resumes dispatch of blackboard change notifications after a matching call to PauseObserverNotifications, optionally flushing any queued changes.
Sets the value under the given key using the raw templated key-type API, notifying observers if the value actually changed.
Sets the boolean value stored under the given blackboard key, notifying any registered observers if the value changed.
Sets the UClass value stored under the given blackboard key, notifying any registered observers if the value changed.
Sets the raw enum value stored under the given blackboard key, notifying any registered observers if the value changed.
Writes a float value to a blackboard key, which can then be read by behavior tree tasks and decorators.
Sets the integer value stored under the given blackboard key, notifying any registered observers if the value changed.
Sets the FName value stored under the given blackboard key, notifying any registered observers if the value changed.
Writes a UObject reference to a blackboard key.
Sets the FRotator value stored under the given blackboard key, notifying any registered observers if the value changed.
Sets the string value stored under the given blackboard key, notifying any registered observers if the value changed.
Writes an FVector to a blackboard key.