RealDocs

UKismetSystemLibrary::BreakTopLevelAssetPath

function Engine Blueprint Since unknown
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticBlueprintPureBlueprintThreadSafeBlueprintAutocast

Description

Extracts the path string out of an FTopLevelAssetPath. The Blueprint node for this is the automatic "break" node generated for the struct.

Caveats & Gotchas

  • Returns the full combined path (package + asset name) as a single string; it does not split package and asset name into separate outputs.
  • If the path is unset (default-constructed), the resulting string is empty rather than an error.

Signature

static ENGINE_API void BreakTopLevelAssetPath(const FTopLevelAssetPath& TopLevelAssetPath, FString& PathString)

Parameters

Name Type Description Default
TopLevelAssetPath const FTopLevelAssetPath& The path to decompose.
PathString FString& Output parameter receiving the full path as a string.

Return Type

void

Example

Read the path string back out C++
FString PathString;
UKismetSystemLibrary::BreakTopLevelAssetPath(MyTopLevelAssetPath, PathString);

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.