FComponentEditorUtils::GenerateValidVariableName

Generate a valid variable name string for the given component instance

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Kismet2/ComponentEditorUtils.h

Include

#include "Kismet2/ComponentEditorUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Kismet2/ComponentEditorUtils.cpp

Syntax

static FString GenerateValidVariableName
(
    TSubclassOf< UActorComponent > InComponentClass,
    AActor * ComponentOwner
)

Remarks

Generate a valid variable name string for the given component instance

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