Garry's Mod Wiki


  mesh.UserData( number tangentX, number tangentY, number tangentZ, number tangentHandedness )


It is recommended to use IMesh:BuildFromTriangles instead of the mesh library.

A table of four numbers. This is used by most shaders in Source to hold tangent information of the vertex ( tangentX, tangentY, tangentZ, tangentHandedness ).


1 number tangentX
2 number tangentY
3 number tangentZ
4 number tangentHandedness