Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CollectElements(HashSet<GraphElement>, Func<GraphElement, bool>)

Retrieves the set of edges that match a specified condition. The tested edges are connected to this node.
Read time 1 minuteLast updated 7 days ago

Definition

public virtual void CollectElements(HashSet<GraphElement> collectedElementSet, Func<GraphElement, bool> conditionFunc)

Parameters

collectedElementSet

The set of matching edges.

A function that determines whether an edge is added to the set of matching edges.