Table of Contents

Method SwapToZXY

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

SwapToZXY(IExplicitShape<GridPoint3>)

Constructs a new 2D shape from a given shape with the coordinates changed to the order ZXY.

[Version(2, 2, 0)]
public static IExplicitShape<GridPoint3> SwapToZXY(this IExplicitShape<GridPoint3> shape)

Parameters

shape IExplicitShape<GridPoint3>

Returns

IExplicitShape<GridPoint3>