MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Dispose

Method Dispose

Source/Engine/Navigation/Navigation.cpp:326–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324#endif
325
326void NavigationService::Dispose()
327{
328 // Release nav meshes
329 for (auto navMesh : NavMeshes)
330 {
331 navMesh->Dispose();
332 Delete(navMesh);
333 }
334 NavMeshes.Clear();
335 NavMeshes.ClearDelete();
336}
337
338bool Navigation::FindDistanceToWall(const Vector3& startPosition, NavMeshHit& hitInfo, float maxDistance)
339{

Callers

nothing calls this directly

Calls 3

DeleteFunction · 0.85
ClearMethod · 0.45
ClearDeleteMethod · 0.45

Tested by

no test coverage detected