Table of Contents

Method Translate

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Translate(Vector3)

Creates a 3D Vector Translate Map.

public static IMap<Vector3, Vector3> Translate(Vector3 offset)

Parameters

offset Vector3

Offset of the translation.

Returns

IMap<Vector3, Vector3>

Translate(Vector2)

Creates a 2D Vector Translate Map.

public static IMap<Vector2, Vector2> Translate(Vector2 offset)

Parameters

offset Vector2

Offset of the translation.

Returns

IMap<Vector2, Vector2>

Translate(float)

Creates a 1D Translate Map.

public static IMap<float, float> Translate(float offset)

Parameters

offset float

Offset of the translation.

Returns

IMap<float, float>

Translate(GridPoint3)

Creates a 3D Discrete Translate Map.

public static IMap<GridPoint3, GridPoint3> Translate(GridPoint3 offset)

Parameters

offset GridPoint3

Offset of the translation.

Returns

IMap<GridPoint3, GridPoint3>

Translate(GridPoint2)

Creates a 2D Discrete Translate Map.

public static IMap<GridPoint2, GridPoint2> Translate(GridPoint2 offset)

Parameters

offset GridPoint2

Offset of the translation.

Returns

IMap<GridPoint2, GridPoint2>

Translate(int)

Creates a 1D Discrete Translate Map.

public static IMap<int, int> Translate(int offset)

Parameters

offset int

Offset of the translation.

Returns

IMap<int, int>