Table of Contents

Method To2DXY

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

To2DXY<TInput>(IMap<TInput, Vector3>)

Creates a Composed map with a 2D XYMap.

[SuppressMessage("ReSharper", "InconsistentNaming", Justification = "Name has math parts.")]
[SuppressMessage("ReSharper", "IdentifierTypo", Justification = "Name has math parts.")]
public static IMap<TInput, Vector2> To2DXY<TInput>(this IMap<TInput, Vector3> map)

Parameters

map IMap<TInput, Vector3>

Base map where you apply this call.

Returns

IMap<TInput, Vector2>

Type Parameters

TInput

Type of the input.