CollectElements(HashSet<GraphElement>, Func<GraphElement, bool>)
Retrieves the set of nodes contained in this stack and its edges. The retrieved graph elements match a specific condition.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public override void CollectElements(HashSet<GraphElement> collectedElementSet, Func<GraphElement, bool> conditionFunc)
Parameters
The set of matching graph elements.
A function that determines whether a graph element is added to the set of matching graph elements.