| Grid3DT Constructor (Int32, Int32, Int32, T) |
Creates a new 3D Grid with the specified width, height and depth.
Cells will be initialized with the value of defaultValue.
Namespace:
Archon.SwissArmyLib.Collections
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public Grid3D(
int width,
int height,
int depth,
T defaultValue
)
Request Example
View SourceParameters
- width
- Type: SystemInt32
Number of columns - height
- Type: SystemInt32
Number of rows - depth
- Type: SystemInt32
Number of layers - defaultValue
- Type: T
The value used for initializing new cells.
See Also