Class Map3DCapsule
A map that calculates world positions for mapping a rect grid (in a rectangle shape) to a capsule.
public class Map3DCapsule : IMap3D<RectPoint>
- Inheritance
-
Map3DCapsule
- Implements
- Inherited Members
- Extension Methods
Constructors
Map3DCapsule(IMap<RectPoint>, float, float, float)
public Map3DCapsule(IMap<RectPoint> map2D, float radius, float width, float height)
Parameters
Properties
this[RectPoint]
Gets a world point given a grid point.
public Vector3 this[RectPoint point] { get; }
Parameters
point
RectPoint
Property Value
this[Vector3]
Gets a grid point given a world point.
public RectPoint this[Vector3 point] { get; }
Parameters
point
Vector3
Property Value
Methods
GetLookAt(RectPoint)
Gets the look at vector for a cell at the given point.
public Vector3 GetLookAt(RectPoint point)
Parameters
point
RectPoint
Returns
To2D()
public IMap<RectPoint> To2D()