Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/PackageHelperFunctions.h |
Include |
#include "PackageHelperFunctions.h" |
template<typename OBJECTYPE, typename FUNCTOR>
void DoActionToAllPackages
(
UCommandlet * Commandlet,
const FString & Params
)
This is our Functional "Do an Action to all Packages" Template. Basically it handles all of the boilerplate code which normally gets copy pasted around. So now we just pass in the OBJECTYPE (e.g. Texture2D ) and then the Functor which will do the actual work.
UFindMissingPhysicalMaterialsCommandlet
UFindTexturesWhichLackLODBiasOfTwoCommandlet