/Engine/Source/Runtime/Engine/Public/Slate/SlateGameResources.h
All paths will be formed as InBasePath + "/" + AssetPath. Lookups will be restricted to ScopeToDirectory. e.g. Resources.Initialize( "/Game/Widgets/SFortChest", "/Game/Widgets" ) Resources.GetBrush( "SFortChest/SomeBrush" ); // Will look up "/Game/Widgets" + "/" + "SFortChest/SomeBrush" = "/Game/Widgets/SFortChest/SomeBrush" Resources.GetBrush( "SSomeOtherWidget/SomeBrush" ); // Will fail because "/Game/Widgets/SSomeOtherWidget/SomeBrush" is outside directory to which we scoped.
static [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [FSlateGameResources](API\Runtime\Engine\Slate\FSlateGameResources) > New ( const [FName](API\Runtime\Core\UObject\FName) & InStyleSetName, const [FString](API\Runtime\Core\Containers\FString) & ScopeToDirectory, const [FString](API\Runtime\Core\Containers\FString) & InBasePath )