FScriptName

The full amount of data required to reconstruct a case-preserving name This will be the same size as [FName](API\Runtime\Core\UObject\FName) when WITH_CASE_PRESERVING_NAME is 1, and is used to store an [FName](API\Runtime\Core\UObject\FName) in cases where the size of [FName](API\Runtime\Core\UObject\FName) must be constant between build configurations (eg, blueprint bytecode)

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "UObject/NameTypes.h"

Syntax

struct FScriptName

Remarks

The full amount of data required to reconstruct a case-preserving name This will be the same size as FName when WITH_CASE_PRESERVING_NAME is 1, and is used to store an FName in cases where the size of FName must be constant between build configurations (eg, blueprint bytecode)

Variables

Name Description

Public variable

FNameEntryId

 

ComparisonIndex

Index into the Names array (used to find String portion of the string/number pair used for comparison)

Public variable

FNameEntryId

 

DisplayIndex

Index into the Names array (used to find String portion of the string/number pair used for display)

Public variable

uint32

 

Number

Number portion of the string/number pair (stored internally as 1 more than actual, so zero'd memory will be the default, no-instance case)

Constructors

Name Description

Public function

FScriptName()

Public function

FScriptName

(
    EName Ename
)

Public function

FScriptName

(
    FNameEntryId InComparisonIndex,
    FNameEntryId InDisplayIndex,
    int32 InNumber
)

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