zscript-doc/api/level/Vertex.md

229 B

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.