Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassFragmentRequirements
References
| Module | MassEntity |
| Header | /Engine/Source/Runtime/MassEntity/Public/MassRequirements.h |
| Include | #include "MassRequirements.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassRequirements.cpp |
bool CheckValidity() const
Remarks
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). whether this query's requirements follow the rules.