Get the position of the specified vertex
| <node3d:onthefly>.getVertex( | |
| index | |
| mode = viz.REL_LOCAL |
)
index
0-based index of the vertex. Negative index can also be used to reference from end of vertex list.
mode = viz.REL_LOCAL
One of the following mode:
Vertex modes |
|
viz.REL_LOCAL |
Return the raw position of the vertex. |
viz.REL_PARENT |
Return the position of the vertex transformed by the nodes current transform matrix. |
viz.REL_GLOBAL |
Return the position of the vertex in the global coordinate system. |
This command will return the position of the vertex at the specified index.
Vertex Position - [x,y,z]