기술 자료

Unity Engine

Unity Engine

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

Calculates the bounds of a list of graph elements.
읽는 시간 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.