mirror of https://github.com/marrub--/zscript-doc
23 lines
235 B
Markdown
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 -->
|