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

Method Run

Source/Engine/Navigation/NavMeshBuilder.cpp:736–748  ·  view source on GitHub ↗

[ThreadPoolTask]

Source from the content-addressed store, hash-verified

734public:
735 // [ThreadPoolTask]
736 bool Run() override
737 {
738 PROFILE_CPU_NAMED("BuildNavMeshTile");
739 PROFILE_MEM(NavigationBuilding);
740 const auto navMesh = NavMesh.Get();
741 if (!navMesh)
742 return false;
743 if (GenerateTile(NavMesh, Runtime, X, Y, TileBoundsNavMesh, WorldToNavMesh, TileSize, Config, this))
744 {
745 LOG(Warning, "Failed to generate navmesh tile at {0}x{1}.", X, Y);
746 }
747 return false;
748 }
749
750 void OnEnd() override
751 {

Callers

nothing calls this directly

Calls 2

GenerateTileFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected