ドキュメント

Unity Engine

Unity Engine

ComputeElementBounds(ref Rect, List<GraphElement>, MinSizePolicy)

Calculates the bounds of a list of graph elements.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

ComputeElementBounds(Rect, List<GraphElement>, MinSizePolicy)

public static bool ComputeElementBounds(ref Rect pos, List<GraphElement> elements, Placemat.MinSizePolicy ensureMinSize = MinSizePolicy.EnsureMinSize)

Parameters

pos

The position, if computed.

The list of elements.

ensureMinSize

Whether to consider the minimum size of the placemat while computing the bounds.

Returns

Type

Description

boolReturns true if bounds were computed, or false otherwise.