FName::FName

Create an [FName](API\Runtime\Core\UObject\FName) with a hardcoded string index.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "UObject/NameTypes.h"

Source

/Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp

Syntax

FName
(
    const FAnsiStringView & Name,
    EFindName FindType
)

Remarks

Create an FName with a hardcoded string index.

Parameters

Parameter

Description

N

The hardcoded value the string portion of the name will have. The number portion will be NAME_NO_NUMBER

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