Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/UObject > API/Runtime/Core/UObject/FName > API/Runtime/Core/UObject/FName/__ctor
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 |
FName
&40;
const WIDECHAR &42; Name,
EFindName FindType
&41;
Remarks
Create an FName. If FindType is FNAME_Find, and the name doesn't already exist, then the name will be NAME_None. The check for existance or not depends on UE_FNAME_OUTLINE_NUMBER. When UE_FNAME_OUTLINE_NUMBER is 0, we only check for the string part. When UE_FNAME_OUTLINE_NUMBER is 1, we check for whole name including the number.
Parameters
Name | Description |
---|---|
Name | Value for the string portion of the name |
FindType | Action to take (see EFindName) |