기술 자료

Unity Engine

Unity Engine

FromRect(Rect)

Creates an axis-aligned BrushTransform from a rectangle.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static BrushTransform FromRect(Rect brushRect)

Parameters

brushRect

Brush rectangle, in target XY coordinates.

Returns

Type

Description

BrushTransformBrushTransform describing the brush.