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

Method GetNode

Source/Engine/Visject/Graph.h:315–327  ·  view source on GitHub ↗

Find node by ID Node ID Node or null if cannot find it

Source from the content-addressed store, hash-verified

313 /// <param name="id">Node ID</param>
314 /// <returns>Node or null if cannot find it</returns>
315 Node* GetNode(uint32 id)
316 {
317 Node* result = nullptr;
318 for (int32 i = 0; i < Nodes.Count(); i++)
319 {
320 if (Nodes[i].ID == id)
321 {
322 result = &Nodes[i];
323 break;
324 }
325 }
326 return result;
327 }
328
329 /// <summary>
330 /// Find parameter by ID

Callers 3

InvokeMethod · 0.45
ProcessGroupFunctionMethod · 0.45
EvaluateMethod · 0.45

Calls 1

CountMethod · 0.45

Tested by

no test coverage detected