GameProjectUtils::GetClassLocation

Given the path provided, work out where it's located within the Source folder

Windows
MacOS
Linux

References

Module

GameProjectGeneration

Header

/Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h

Include

#include "GameProjectUtils.h"

Source

/Engine/Source/Editor/GameProjectGeneration/Private/GameProjectUtils.cpp

Syntax

static bool GetClassLocation
(
    const FString & InPath,
    const FModuleContextInfo & ModuleInfo,
    EClassLocation & OutClassLocation,
    FText *const OutFailReason
)

Remarks

Given the path provided, work out where it's located within the Source folder

Returns

false if the paths are invalid

Parameters

Parameter

Description

InPath

The path to use a base

ModuleInfo

Information about the module being validated

OutClassLocation

The location within the Source folder

OutFailReason

Optional parameter to fill with failure information

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