Click or drag to resize

Grid3DTResize Method

Resizes the Grid to the given size, keeping data the same but any new cells will be set to DefaultValue. Growing the grid will allocate new arrays, shrinking will not.

Namespace:  Archon.SwissArmyLib.Collections
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Resize(
	int width,
	int height,
	int depth
)
Request Example View Source

Parameters

width
Type: SystemInt32
The new width.
height
Type: SystemInt32
The new height.
depth
Type: SystemInt32
The new depth.
See Also