Table of Contents

Method SwapToYXZ

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

SwapToYXZ(IExplicitShape<GridPoint3>)

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

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

Parameters

shape IExplicitShape<GridPoint3>

Returns

IExplicitShape<GridPoint3>