FName

Overload list

Windows
MacOS
Linux
Name Description

Public function

FName()

Default constructor, initialized to None

Public function

FName

(
    const FAnsiStringView& Name,
    EFindName FindType
)

Create an FName with a hardcoded string index.

Public function

FName

(
    const FNameEntryId InComparisonInde...,
    const FNameEntryId InDisplayIndex,
    const int32 InNumber
)

Create an FName from its component parts Only call this if you really know what you're doing

Public function

FName

(
    int32 Len,
    const WIDECHAR* Name,
    EFindName FindType
)

Create FName from non-null string with known length

Public function

FName

(
    int32 Len,
    const ANSICHAR* Name,
    EFindName FindType
)

Public function

FName

(
    const WIDECHAR* Name,
    int32 InNumber,
    EFindName FindType
)

Create an FName.

Public function

FName

(
    const ANSICHAR* Name,
    int32 InNumber,
    EFindName FindType
)

Public function

FName

(
    const FStringView& Name,
    int32 InNumber,
    EFindName FindType
)

Public function

FName

(
    const FAnsiStringView& Name,
    int32 InNumber,
    EFindName FindType
)

Public function

FName

(
    int32 Len,
    const WIDECHAR* Name,
    int32 Number,
    EFindName FindType
)

Public function

FName

(
    int32 Len,
    const ANSICHAR* Name,
    int32 InNumber,
    EFindName FindType
)

Public function

FName

(
    EName Ename
)

Create an FName with a hardcoded string index.

Public function

FName

(
    const TCHAR* Name,
    int32 InNumber,
    EFindName FindType,
    bool bSplitName
)

Create an FName.

Public function

FName

(
    ENoInit
)

Scary no init constructor, used for something obscure in UObjectBase

Public function

FName

(
    const FNameEntrySerialized& Loaded...
)

Constructor used by FLinkerLoad when loading its name table; Creates an FName with an instance number of 0 that does not attempt to split the FName into string and number portions.

Public function

FName

(
    EName Ename,
    int32 InNumber
)

Create an FName with a hardcoded string index and (instance).

Public function

FName

(
    const FName& Other,
    int32 InNumber
)

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

Public function

FName

(
    const WIDECHAR* Name,
    EFindName FindType
)

Create an FName.

Public function

FName

(
    const ANSICHAR* Name,
    EFindName FindType
)

Public function

FName

(
    const FStringView& Name,
    EFindName FindType
)

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