FNetNameMapping

Map from a name to the number of times it's been 'created' (identical nodes create the same variable names, so they need something appended)

Choose your operating system:

Windows

macOS

Linux

References

Module

KismetCompiler

Header

/Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h

Include

#include "KismetCompilerMisc.h"

Syntax

struct FNetNameMapping

Remarks

Map from a name to the number of times it's been 'created' (identical nodes create the same variable names, so they need something appended)

Functions

Name Description

Public function

FString

 

MakeValidName

(
    const UEdGraphNode* Net,
    const FString& Context
)

Come up with a valid, unique (within the scope of NetNameMap) name based on an existing Net object and (optional) context.

Public function

FString

 

MakeValidName

(
    const UEdGraphPin* Net,
    const FString& Context
)

Public function

FString

 

MakeValidName

(
    const UObject* Net,
    const FString& Context
)