zscript-doc/api/level/Vertex.md

23 lines
235 B
Markdown

# Vertex
A point in world space.
```
struct Vertex play
{
readonly vector2 P;
int Index();
}
```
- `P`
The point this object represents.
- `Index`
The index of this vertex in the global vertices array.
<!-- EOF -->