RealDocs

UKismetTextLibrary::Conv_NameToText

function Engine Blueprint Since unknown
#include "Kismet/KismetTextLibrary.h"
Access: public Specifiers: staticBlueprintPureBlueprintAutocast

Description

Converts an FName to culture-invariant text. Backs the 'To Text (Name)' Blueprint conversion node.

Caveats & Gotchas

  • Like all FName conversions, this is case-insensitive at the source — two names differing only in case produce identical output text.
  • The result is culture-invariant, so it's suitable for internal identifiers or debug display but not for text that should be localized.

Signature

static FText Conv_NameToText(FName InName)

Parameters

Name Type Description Default
InName FName The name to convert.

Return Type

FText

Example

Display a socket name for debugging C++
FName SocketName = TEXT("WeaponSocket");
FText SocketText = UKismetTextLibrary::Conv_NameToText(SocketName);
UE_LOG(LogTemp, Log, TEXT("%s"), *SocketText.ToString());

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.