GameProjectUtils::IsValidSourcePath

Check to see if the given path is a valid place to put source code for this project (exists within the source root path)

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 IsValidSourcePath
(
    const [FString](API\Runtime\Core\Containers\FString) & InPath,
    const [FModuleContextInfo](API\Runtime\Projects\FModuleContextInfo) & ModuleInfo,
    [FText](API\Runtime\Core\Internationalization\FText) *const OutFailReason
)

Remarks

Check to see if the given path is a valid place to put source code for this project (exists within the source root path) true if the path is valid, false otherwise

Parameters

Name Description
InPath The path to check
ModuleInfo Information about the module being validated
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