Navigation
API > API/Plugins > API/Plugins/MassEntityTestSuite > API/Plugins/MassEntityTestSuite/UMassTestStaticCounterProcessor
- UMassProcessor::ShouldAllowQueryBasedPruning()
- UMassTestStaticCounterProcessor::ShouldAllowQueryBasedPruning()
References
| Module | MassEntityTestSuite |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntityTestSuite/Public/MassEntityTestTypes.h |
| Include | #include "MassEntityTestTypes.h" |
virtual bool ShouldAllowQueryBasedPruning
&40;
const bool bRuntimeMode
&41; const
Remarks
Indicates whether this processor can ever be pruned while considered for a phase processing graph. A processor can get pruned if none of its registered queries interact with archetypes instantiated at the moment of graph building. This can also happen for special processors that don't register any queries - if that's the case override this function to return an appropriate value
Parameters
| Name | Description |
|---|---|
| bRuntimeMode | indicates whether the pruning is being done for game runtime (true) or editor-time presentation (false) |