|
| | Edge (Vector3Int position, int index, Vector2 normalizedPosition, bool createDefaultDataObject=true) |
| | constructor without passing an instance of E in , creating a default instance of E by calling it's parameterless constructor More...
|
| |
| | Edge (Vector3Int position, int index, Vector2 normalizedPosition, E data) |
| | constructor including an instance of E More...
|
| |
| | Edge (Vector3Int position, int index, Vector2 normalizedPosition) |
| | Initializes a new Edge instance More...
|
| |
| override string | ToString () |
| | returns a string with 3 Lines, one each for Index, Position and NormalizedPosition More...
|
| |
|
| E | Data [get, set] |
| | can be any object, defines the actual content of the Edge More...
|
| |
| override Vector3 | CartesianPosition [get] |
| | returns the cartesian coordinate of the edge midpoint More...
|
| |
| EdgeAlignment | EdgeAlignment [get, private set] |
| | the edge is parallel to this axis More...
|
| |
| float | EdgeAlignmentAngle [get] |
| | the rotationAngle of the edge depending on EdgeOrientation, More...
|
| |
| int | Index [get, private set] |
| | index of the MapElement, HexMap.Tiles , HexMap.Edges and HexMap.Corners arrays are mapped based on this. Can be arbitrarily chosen as long as it starts with 0 and has no gaps. More...
|
| |
| Vector3Int | Position [get, private set] |
| | coordinate of the MapElement More...
|
| |
| abstract Vector3 | CartesianPosition [get] |
| | returns the cartesian coordinate of the MapElement More...
|
| |
| Vector2 | NormalizedPosition [get, private set] |
| | position normalised to a range of [0...1] based on the boundingbox of the map tiles,edges or corners More...
|
| |
generic Edge which can have any object with an parameterless constructor as content