Experimental: this API is experimental and might be changed or removed in the future.

StackNode.AcceptsElement

매뉴얼로 전환
protected bool AcceptsElement (Experimental.GraphView.GraphElement element, ref int proposedIndex, int maxIndex);

파라미터

elementThe element to add.
proposedIndexThe index where the element would be added. This index can be overwritten.
maxIndexThe maximum value of the index.

반환

bool Returns true if the specified GraphElement can be added. Returns false otherwise.

설명

Checks whether the specified GraphElement can be added to this StackNode.