GameProjectUtils::GetClassLocation

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

Unreal Engine C++ API Reference > Editor > GameProjectGeneration > GameProjectUtils

References

   
Module GameProjectGeneration
Header /Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h
Include #include "GameProjectUtils.h"
Source /Engine/Source/Editor/GameProjectGeneration/Private/GameProjectUtils.cpp
static bool GetClassLocation
(
    const [FString](API\Runtime\Core\Containers\FString) & InPath,
    const [FModuleContextInfo](API\Runtime\Projects\FModuleContextInfo) & ModuleInfo,
    [EClassLocation](API\Editor\GameProjectGeneration\GameProjectUtils\EClassLocation) & OutClassLocation,
    [FText](API\Runtime\Core\Internationalization\FText) *const OutFailReason
)

Remarks

Given the path provided, work out where it's located within the Source folder false if the paths are invalid

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library