Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FEngineShowFlags > IterateAllFlags
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ShowFlags.h |
Include | #include "ShowFlags.h" |
template<class T>
static void IterateAllFlags
&40;
T & Sink,
const TCHAR &42; CommaSeparatedNames
&41;
Remarks
Allows to iterate through all flags (if you want to change or read the actual flag settings you need to pass in your own instance of FEngineShowFlags). Use this function instead of writing your own parser. not optimized for performance implement a class with bool OnEngineShowFlag(uint32 InIndex, const FString& InName) which should return true to parse further
Parameters
Name | Description |
---|---|
CommaSeparatedNames | leave 0 for normal purpose, is used internally for the grouping feature |