Navigation
API > API/Editor > API/Editor/UnrealEd
Deprecated * Class names are now represented by path names. Please use GetClassPathNameFromAsset.
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorClassUtils.h |
| Include | #include "EditorClassUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorClassUtils.cpp |
namespace FEditorClassUtils
{
FName FEditorClassUtils&58;&58;GetClassPathFromAsset
&40;
const FAssetData & InAssetData,
bool bGenerateClassPathIfMissing
&41;
}
Remarks
Gets the object path of the class associated with the specified asset (i.e. the BlueprintGeneratedClass of a Blueprint asset or the BlueprintGeneratedClass asset itself) Class path or None if the asset cannot or doesn't have a class associated with it
Parameters
| Name | Description |
|---|---|
| InAssetData | Reference to an asset data entry |
| bGenerateClassPathIfMissing | Whether to generate a class path if the class is missing (and the asset can have a class associated with it) |