![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VehicleBlackboard.h>
Public Types | |
| enum class | EInvalidationReason : uint8 { FullReset , Rollback } |
Public Member Functions | |
| template<typename T > | |
| bool | TryGet (FName ObjName, T &OutFoundValue) const |
| bool | Contains (FName ObjName) |
| template<typename T > | |
| void | Set (FName ObjName, T Obj) |
| UE_API void | Invalidate (FName ObjName) |
| UE_API void | Invalidate (EInvalidationReason Reason) |
| void | InvalidateAll () |
VehicleBlackboard: this is a simple generic map that can store any type, used as a way for decoupled modules to share calculations or transient state data (on the physics thread only). Values submitted are copy-in, copy-out. Unlike a traditional blackboard pattern, there is no support for subscribing to changes.
|
strong |
Returns true/false to indicate if an object is stored with that name
| void FVehicleBlackboard::Invalidate | ( | EInvalidationReason | Reason | ) |
Invalidate all objects that can be affected by a particular circumstance (such as a rollback)
|
inline |
Invalidate all objects
Store object by a named key, overwriting any existing object
|
inline |
Attempt to retrieve an object from the blackboard. If found, OutFoundValue will be set. Returns true/false to indicate whether it was found.