Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Description
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
| Name | UE::Modeling::GetComponentAssetBaseName |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h |
| Include Path | #include "ModelingObjectsCreationAPI.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingObjectsCreationAPI.cpp |
namespace UE
{
namespace Modeling
{
FString UE::Modeling::GetComponentAssetBaseName
(
UActorComponent * Component,
bool bRemoveAutoGeneratedSuffixes
)
}
}
the Name for the Component
Parameters
| Name | Remarks |
|---|---|
| Component | the Component we want the Asset Base Name for |
| bRemoveAutoGeneratedSuffixes | strip off generated UUID suffix if one is detected (default true) |