Garry's Mod Wiki

Revision Difference

mesh.UserData#510642

<function name="UserData" parent="mesh" type="libraryfunc">⤶ <description>⤶ <note>It is recommended to use <page>IMesh:BuildFromTriangles</page> instead of the mesh library.</note>⤶ ⤶ A table of four numbers. This is used by most shaders in Source to hold tangent information of the vertex ( tangentX, tangentY, tangentZ, tangentHandedness ).⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="tangentX" type="number"></arg>⤶ <arg name="tangentY" type="number"></arg>⤶ <arg name="tangentZ" type="number"></arg>⤶ <arg name="tangentHandedness" type="number"></arg>⤶ </args>⤶ </function>⤶ ⤶