Version: 2021.1
Experimental: this API is experimental and might be changed or removed in the future.

BrushTransform.FromRect

切换到手册
public static Experimental.TerrainAPI.BrushTransform FromRect (Rect brushRect);

参数

brushRect 目标 XY 坐标中的画笔矩形。

返回

BrushTransform 描述画笔的 BrushTransform。

描述

从矩形创建轴对齐的 BrushTransform。