Table of Contents

Method Layer

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Layer(IExplicitShape<GridPoint2>, int)

Makes a new 3D shape by stacking copies of a 2D along the z-axis.

[Version(2, 2, 0)]
public static IExplicitShape<GridPoint3> Layer(this IExplicitShape<GridPoint2> shape, int layerCount)

Parameters

shape IExplicitShape<GridPoint2>
layerCount int

Returns

IExplicitShape<GridPoint3>