Possible to return vertices of a mesh?

Hi all, I am trying doing triangle mesh collision in TD. I use a trace sop to trace a texture so that I can get a mesh but I need the information of the mesh.

I saw that in Unity there can be returned an array of the triangles and vertices of a mesh like:

Vector3[] vertices = mesh.vertices; int[] triangles = mesh.triangles;

I wanna know if there is a similar function in TD for me to get the vertices and the triangles of the mesh. Anyone has hints?

Thanks in advance!