FName

Overload list

Windows
MacOS
Linux
Name Description

Public function

FName()

Default constructor, initialized to None

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

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

Public function

FName

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

Public function

FName

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

Create an FName.

Public function

FName

(
    EName Ename
)

Create an FName with a hardcoded string index.

Public function

FName

(
    ENoInit
)

Scary no init constructor, used for something obscure in UObjectBase

Public function

FName

(
    const FNameEntrySerialized& LoadedEntry
)

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 FNameEntryId InComparisonIndex,
    const FNameEntryId InDisplayIndex,
    const int32 InNumber
)

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback