Table of Contents

Interface IMap3D<TPoint>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

An IMap maps 3D world coordinates to Grid coordinates and vice versa.

Many grids provide 2D maps, which can be converted to standard 3D maps using commands such as To3DXY.

You can also provide your own maps, either as implementations of IMap, or IMap3D.

[Version(1, 0, 0)]
public interface IMap3D<TPoint> where TPoint : IGridPoint<TPoint>

Type Parameters

TPoint
Extension Methods

Properties

this[Vector3]

Gets a grid point given a world point.

TPoint this[Vector3 point] { get; }

Parameters

point Vector3

Property Value

TPoint

this[TPoint]

Gets a world point given a grid point.

Vector3 this[TPoint point] { get; }

Parameters

point TPoint

Property Value

Vector3

Methods

To2D()

IMap<TPoint> To2D()

Returns

IMap<TPoint>