Make Path Relative To

Make Path Relative To

Windows
MacOS
Linux

Assuming both paths (or filenames) are relative to the same base dir, converts InPath to be relative to InRelativeTo

Target is Blueprint Paths Library

Make Path Relative To
In Path
In Relative To
Out Path
Return Value

Inputs

In Path
String

Path to change to be relative to InRelativeTo

In Relative To
String

Path to use as the new relative base

Outputs

Out Path
String
Return Value
Boolean

true if OutPath was changed to be relative

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