Structs:Vertex

From ZDoom Wiki
Jump to navigation Jump to search

Vertices are what connect lines together in a map. Every wall is made up of two vertices. A vertex can be accessed from a line via its v1 and v2 pointers. It can also be accessed from sides via their V1() and V2() methods. Lastly, level contains an array of all vertices in the map via its Vertexes array. A line's v1 vertex is always the vertex on the right relative to the direction the line is facing.

Fields

  • readonly Vector2 p - The xy coordinate of the vertex in the map.

Methods

Non-static

  • int Index()