文档

Unity Engine

Unity Engine

FromRect(Rect)

Creates an axis-aligned BrushTransform from a rectangle.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static BrushTransform FromRect(Rect brushRect)

Parameters

brushRect

Brush rectangle, in target XY coordinates.

Returns

Type

Description

BrushTransformBrushTransform describing the brush.