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

Method ClearData

Source/Engine/Navigation/NavMesh.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void NavMesh::ClearData()
78{
79 if (Data.Tiles.HasItems())
80 {
81 IsDataDirty = true;
82 Data.TileSize = 0.0f;
83 Data.Tiles.Resize(0);
84 }
85}
86
87NavMeshRuntime* NavMesh::GetRuntime(bool createIfMissing) const
88{

Callers 1

ClearNavigationFunction · 0.80

Calls 2

HasItemsMethod · 0.45
ResizeMethod · 0.45

Tested by

no test coverage detected