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

BrushTransform.FromRect

Switch to Manual
public static Experimental.TerrainAPI.BrushTransform FromRect (Rect brushRect);

Parameters

brushRectBrush rectangle, in target XY coordinates.

Returns

BrushTransform BrushTransform describing the brush.

Description

Creates an axis-aligned BrushTransform from a rectangle.