<node3d:onthefly>.getTexCoord

Get the texture coordinate of the specified vertex

 

<node3d:onthefly>.getTexCoord(
    index    
    unit = 0    

)

 

index

0-based index of the vertex. Negative index can also be used to reference from end of vertex list.


unit = 0

The texture unit


Remarks

This command will return the texture coordinate of the vertex at the specified index.

Return Value

Texture Coordinate - [s,t,r]