Class SimpleLayeredMap<TPoint>
A simple map that can be used for Layered Grids.
[Version(1, 8, 0)]
public class SimpleLayeredMap<TPoint> : IMap3D<LayeredPoint<TPoint>> where TPoint : IGridPoint<TPoint>
Type Parameters
TPoint
- Inheritance
-
SimpleLayeredMap<TPoint>
- Implements
-
IMap3D<LayeredPoint<TPoint>>
- Inherited Members
- Extension Methods
Constructors
SimpleLayeredMap(IMap<TPoint>, float, float)
public SimpleLayeredMap(IMap<TPoint> baseMap, float layerDistance, float layerOffset)
Parameters
Properties
this[LayeredPoint<TPoint>]
Gets a world point given a grid point.
public Vector3 this[LayeredPoint<TPoint> point] { get; }
Parameters
pointLayeredPoint<TPoint>
Property Value
this[Vector3]
Gets a grid point given a world point.
public LayeredPoint<TPoint> this[Vector3 point] { get; }
Parameters
pointVector3
Property Value
- LayeredPoint<TPoint>
Methods
To2D()
This method is not implemented. Unlike most grids, this is not a 2D grid embedded in 3D, so projecting it to 2D does not make sense.
public IMap<LayeredPoint<TPoint>> To2D()
Returns
- IMap<LayeredPoint<TPoint>>