AssetGenerationUtil::GetComponentAssetBaseName

Look up the name for the Asset underlying the given Component, if there is one.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/AssetGenerationUtil.h

Include

#include "AssetGenerationUtil.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/AssetGenerationUtil.cpp

Syntax

namespace AssetGenerationUtil
{
    FString AssetGenerationUtil::GetComponentAssetBaseName
    (
        UPrimitiveComponent * Component,
        bool bRemoveAutoGeneratedSuffixes
    )
}

Remarks

Look up the name for the Asset underlying the given Component, if there is one. Optionally Strip off the appended auto-generated UUID string if we can detect one. If there is not a known underlying asset, returns the Component's name

Returns

the Name for the Component

Parameters

Parameter

Description

Component

the Component we want the Asset Base Name for

bRemoveAutoGeneratedSuffixes

strip off generated UUID suffix if one is detected (default true)

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