| 131 | } |
| 132 | |
| 133 | bool NavAgentMask::IsNavMeshSupported(const NavMeshProperties& navMeshProperties) const |
| 134 | { |
| 135 | auto settings = NavigationSettings::Get(); |
| 136 | for (int32 agentIndex = 0; agentIndex < settings->NavMeshes.Count(); agentIndex++) |
| 137 | { |
| 138 | if (settings->NavMeshes[agentIndex] == navMeshProperties) |
| 139 | { |
| 140 | return (Mask & (1 << agentIndex)) != 0; |
| 141 | } |
| 142 | } |
| 143 | return false; |
| 144 | } |
| 145 | |
| 146 | bool NavAgentMask::operator==(const NavAgentMask& other) const |
| 147 | { |
no test coverage detected