TranslateBox


Shifts a box by a discreet vector.

Syntax

C++
Python
 
def TranslateBox(
	inBox: Box,
	inDeltaX: int,
	inDeltaY: int,
	/,
	*,
	inInverse: bool = False
)
-> outBox: Box

Parameters

Name Type Default Description
Input value inBox Box Input box
Input value inDeltaX int Shift along the x axis
Input value inDeltaY int Shift along the y axis
Input value inInverse bool False Switches to inverse operation
Output value outBox Box Shifted box