Click or drag to resize

Bin2DTUpdate Method

Removes and reinserts an item with new bounds, essentially moving it.

Namespace:  Archon.SwissArmyLib.Partitioning
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Update(
	T item,
	Rect prevBounds,
	Rect newBounds
)
Request Example View Source

Parameters

item
Type: T
The item to update.
prevBounds
Type: Rect
The bounds that the item was inserted with earlier.
newBounds
Type: Rect
The new bounds to insert the item with.
See Also