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

Function InitFilter

Source/Engine/Navigation/NavMeshRuntime.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace
36{
37 FORCE_INLINE void InitFilter(dtQueryFilter& filter)
38 {
39 Platform::MemoryCopy(filter.m_areaCost, NavMeshRuntime::NavAreasCosts, sizeof(NavMeshRuntime::NavAreasCosts));
40 static_assert(sizeof(dtQueryFilter::m_areaCost) == sizeof(NavMeshRuntime::NavAreasCosts), "Invalid navmesh area cost list.");
41 }
42}
43
44NavMeshRuntime::NavMeshRuntime(const NavMeshProperties& properties)

Callers 7

FindDistanceToWallMethod · 0.85
FindPathMethod · 0.85
TestPathMethod · 0.85
FindClosestPointMethod · 0.85
FindRandomPointMethod · 0.85
RayCastMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestPathMethod · 0.68