CollectElements(HashSet<GraphElement>, Func<GraphElement, bool>)
Retrieves a set of graph elements that match a specified condition. The graph elements are collected from the elements associated with implementor of this interface.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
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.