CollectElements(IEnumerable<GraphElement>, HashSet<GraphElement>, Func<GraphElement, bool>)
Retrieves the set of elements that match a specified condition. The matching elements are selected from an enumerable of graph elements.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public static void CollectElements(IEnumerable<GraphElement> elements, HashSet<GraphElement> collectedElementSet, Func<GraphElement, bool> conditionFunc)
Parameters
The enumerable of graph elements to select from.
The set of matching graph elements.
A function that determines whether a graph element is added to the set of matching graph elements.