You are here: Start » AVL.NET » Function Reference » Basic » Box » AVL.TranslateBox

AVL.TranslateBox

Shifts a box by a discreet vector.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TranslateBox
(
	AvlNet.Box inBox,
	int inDeltaX,
	int inDeltaY,
	bool inInverse,
	out AvlNet.Box outBox
)

Parameters

Name Type Range Default Description
inBoxAvlNet.BoxInput box.
inDeltaXintShift along the x axis.
inDeltaYintShift along the y axis.
inInverseboolSwitches to inverse operation.
outBoxAvlNet.BoxShifted box.

See also