class Paths

Contains common engine paths and utility method for searching for paths.

Public

Methods

staticGetDataPath

static const Path &GetDataPath()

Returns the absolute path where the builtin framework-specific assets are located.

staticGetBinariesPath

static const Path &GetBinariesPath()

Returns the absolute path where the engine binaries are located in.

staticGetEditorDataPath

static const Path &GetEditorDataPath()

Returns the absolute path where the builtin editor-specific assets are located.

staticGetGameSettingsPath

static const Path &GetGameSettingsPath()

Returns the absolute path to the game settings file used by editor-built executables.

staticGetGameResourcesPath

static const Path &GetGameResourcesPath()

Returns the absolute path to the game resources folder used by editor-built executables.

staticFindPath

static Path FindPath(const Path &path)

Searches common locations for a specified path by querying if the file/directory exists and returns the found path.

path
Relative path to search for (for example "Data").

Returns: Path at which the relative path was found at. This path will be relative to the working directory.