FName::FName

Create an [FName](API\Runtime\Core\UObject\FName) from an existing string, but with a different instance.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h

Include

#include "UObject/NameTypes.h"

Syntax

FName
(
    const FName & Other,
    int32 InNumber
)

Remarks

Create an FName from an existing string, but with a different instance.

Parameters

Parameter

Description

Other

The FName to take the string values from

InNumber

The hardcoded value for the number portion of the name