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

Method GetNodeDebugRelevancy

Source/Engine/AI/Behavior.cpp:198–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196#if USE_EDITOR
197
198bool Behavior::GetNodeDebugRelevancy(const BehaviorTreeNode* node, const Behavior* behavior)
199{
200 return node &&
201 behavior &&
202 node->_executionIndex >= 0 &&
203 node->_executionIndex < behavior->_knowledge.RelevantNodes.Count() &&
204 behavior->_knowledge.RelevantNodes.Get(node->_executionIndex);
205}
206
207String Behavior::GetNodeDebugInfo(const BehaviorTreeNode* node, Behavior* behavior)
208{

Callers 1

UpdateDebugInfoMethod · 0.80

Calls 2

CountMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected