Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassFragmentRequirements
Description
The function validates requirements we make for queries. See the FMassFragmentRequirements struct description for details. Even though the code of the function is non-trivial the consecutive calls will be essentially free due to the result being cached (note that the caching gets invalidated if the composition changes).
| Name | CheckValidity |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassRequirements.h |
| Include Path | #include "MassRequirements.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassRequirements.cpp |
bool CheckValidity() const
whether this query's requirements follow the rules.