Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Commandlets > API/Editor/UnrealEd/Commandlets/UGatherTextFromSourceCommandlet
- UGatherTextCommandletBase::ShouldRunInPreview()
- UGatherTextFromSourceCommandlet::ShouldRunInPreview()
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/Commandlets/GatherTextFromSourceCommandlet.h |
| Include | #include "Commandlets/GatherTextFromSourceCommandlet.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Commandlets/GatherTextFromSourceCommandlet.cpp |
virtual bool ShouldRunInPreview
(
const TArray < FString > & Switches,
const TMap < FString , FString > & ParamVals
) const
Remarks
Returns true if this commandlet should run during a preview run. Override in child classes to conditionally skip a commandlet from being run. Most commandlets that require source control, write to files etc should be skipped for preview runs