Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FName
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 ToStringTruncate
(
TCHAR(&) Out |
UObject/NameTypes.h | ||
uint32 ToStringTruncate
(
TCHAR* Out, |
Converts the FName to a string buffer, avoiding dynamic allocations. | UObject/NameTypes.h |
ToStringTruncate(TCHAR(&))
| Name | ToStringTruncate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
template<uint32 N>
uint32 ToStringTruncate
(
TCHAR(&) Out
) const
ToStringTruncate(TCHAR *, uint32)
Description
Converts the FName to a string buffer, avoiding dynamic allocations. Truncates the name if it does not fit in the specified output buffer. Use a buffer size of at least FName::StringBufferSize to avoid truncation.
Returns the length of the (possibly truncated) string, excluding the null terminator.
Note that a default constructed FName returns "None" instead of ""
| Name | ToStringTruncate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
uint32 ToStringTruncate
(
TCHAR * Out,
uint32 OutSize
) const