기술 자료

Unity Engine

Unity Engine

ApproximateSceneNodeBounds(SceneNode)

Computes a rough approximation of the node hierarchy bounds.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static Rect ApproximateSceneNodeBounds(SceneNode root)

Parameters

The root node of the hierarchy to computes the bounds from

Returns

Type

Description

RectAn approximation of the root hierarchy axis-aligned bounding-box

Remarks

This will use the control point positions as a rough estimate of the bounds for the paths and shapes.