CountTriangles ( surface )
где
surface - surface handle CountVertices ( surface )
где
surface - surface handle
TriangleVertex ( surface,triangle_index,corner ) - Returns the vertex of a triangle corner.
где
surface - surface handle
triangle_index - triangle index
corner - corner of triangle. Should be 0, 1 or 2.