FScriptMapHelper::AddDefaultValue_Invalid_NeedsRehash

Adds a blank, constructed value to a given size.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UnrealType.h"

Syntax

int32 AddDefaultValue_Invalid_NeedsRehash()

Remarks

Adds a blank, constructed value to a given size. Note that this will create an invalid map because all the keys will be default constructed, and the map needs rehashing.

Returns

The index of the first element added.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss