This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

BrushTransform.FromRect

Declaration

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

Parameters

brushRect Brush rectangle, in target XY coordinates.

Returns

BrushTransform BrushTransform describing the brush.

Description

Creates an axis-aligned BrushTransform from a rectangle.