Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FUObjectAnnotationSparse
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetAnnotationCacheKeyAndValue
(
const UObjectBase* Key, |
Sets the AnnotationCacheKey and AnnotationCacheValue if called outside of an AutoRTFM transaction. | UObject/UObjectAnnotation.h | |
void SetAnnotationCacheKeyAndValue
(
const UObjectBase* Key, |
UObject/UObjectAnnotation.h |
SetAnnotationCacheKeyAndValue(const UObjectBase *, const TAnnotation &)
Description
Sets the AnnotationCacheKey and AnnotationCacheValue if called outside of an AutoRTFM transaction. This is a no-op in a transaction to avoid writes to the same memory locations from open and closed code. If a transaction is committed or aborted, we reset the cache to avoid reading back a stale value.
| Name | SetAnnotationCacheKeyAndValue |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAnnotation.h |
| Include Path | #include "UObject/UObjectAnnotation.h" |
void SetAnnotationCacheKeyAndValue
(
const UObjectBase * Key,
const TAnnotation & Value
)
SetAnnotationCacheKeyAndValue(const UObjectBase *, TAnnotation &&)
| Name | SetAnnotationCacheKeyAndValue |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAnnotation.h |
| Include Path | #include "UObject/UObjectAnnotation.h" |
void SetAnnotationCacheKeyAndValue
(
const UObjectBase * Key,
TAnnotation && Value
)