Table of Contents

Method To3DXY

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

To3DXY<TInput>(IMap<TInput, Vector2>, float)

Creates a Composed map with a 3D XYMap.

public static IMap<TInput, Vector3> To3DXY<TInput>(this IMap<TInput, Vector2> map, float height = 0)

Parameters

map IMap<TInput, Vector2>

Base map where you apply this call.

height float

Height expected in the XYMap.

Returns

IMap<TInput, Vector3>

Type Parameters

TInput

Type of the input.