Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UBlueprintPathsLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintPathsLibrary.h |
Include | #include "Kismet/BlueprintPathsLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/Kismet/BlueprintPathsLibrary.cpp |
static bool CollapseRelativeDirectories
&40;
const FString & InPath,
FString & OutPath
&41;
Remarks
Takes a fully pathed string and eliminates relative pathing (eg: annihilates ".." with the adjacent directory). Assumes all slashes have been converted to TEXT('/'). For example, takes the string: BaseDirectory/SomeDirectory/../SomeOtherDirectory/Filename.ext and converts it to: BaseDirectory/SomeOtherDirectory/Filename.ext