FUObjectAnnotationSparseBool

[FUObjectAnnotationSparseBool](API\Runtime\CoreUObject\UObject\FUObjectAnnotationSparseBool) is a specialization of [FUObjectAnnotationSparse](API\Runtime\CoreUObject\UObject\FUObjectAnnotationSparse) for bools, slow, temporary, editor only, external or other low priority bools about UObjects.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class FUObjectAnnotationSparseBool : private FUObjectAnnotationSparse< FBoolAnnotation, true >

Remarks

FUObjectAnnotationSparseBool is a specialization of FUObjectAnnotationSparse for bools, slow, temporary, editor only, external or other low priority bools about UObjects.

Functions

Name Description

Public function

void

 

Clear

(
    const UObjectBase* Object
)

Removes an annotation from the annotation list.

Public function

void

 

ClearAll()

Removes all bool annotations

Public function

bool

 

Get

(
    const UObjectBase* Object
)

Return the bool annotation associated with a uobject

Public function Const

int32

 

Num()

Public function

void

 

Reserve

(
    int32 ExpectedNumElements
)

Reserves memory for the annotation map for the specified number of elements, used to avoid reallocations.

Public function

void

 

Set

(
    const UObjectBase* Object
)

Sets this bool annotation to true for this object

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/UObjectAnnotation.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback