FUObjectAnnotationSparse::AddAnnotation

Add an annotation to the annotation list.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAnnotation.h

Include

#include "UObject/UObjectAnnotation.h"

Syntax

void AddAnnotation
(
    const UObjectBase * Object,
    TAnnotation && Annotation
)

Remarks

Add an annotation to the annotation list. If the Annotation is the default, then the annotation is removed.

Parameters

Parameter

Description

Object

Object to annotate.

Annotation

Annotation to associate with Object.