Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FUObjectAnnotationChunked > API/Runtime/CoreUObject/UObject/FUObjectAnnotationChunked/AddOrGetAnnotation
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAnnotation.h |
Include | #include "UObject/UObjectAnnotation.h" |
TAnnotation & AddOrGetAnnotation
&40;
int32 Index,
TFunctionRef< TAnnotation()> NewAnnotationFn
&41;
Remarks
Add an annotation to the annotation list. If the Annotation is the default, then the annotation is removed.
Parameters
Name | Description |
---|---|
Index | Index of object to annotate. |
Annotation | Annotation to associate with Object. |