TranslateRectangle


Translates a rectangle by a vector.

Syntax

C++
Python
 
def TranslateRectangle(
	inRectangle: Rectangle2D,
	inDelta: Vector2D,
	/,
	*,
	inInverse: bool = False
)
-> outRectangle: Rectangle2D

Parameters

Name Type Default Description
Input value inRectangle Rectangle2D
Input value inDelta Vector2D Translation vector
Input value inInverse bool False Switches to the inverse operation
Output value outRectangle Rectangle2D