FComponentEditorUtils::GenerateValidVariableNameFromAsset

Generate a valid variable name string for the given component instance based on the name of the asset referenced by the component

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 GenerateValidVariableNameFromAsset
(
    UObject * Asset,
    AActor * ComponentOwner
)

Remarks

Generate a valid variable name string for the given component instance based on the name of the asset referenced by the component

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