Garry's Mod Wiki

mesh.TangentT

  mesh.TangentT( Vector tangentT )
  mesh.TangentT( number x, number y, number z )

Description

Sets the T tangent to be used.

Tangents and binormals are using in bumpmap rendering.

See also mesh.TangentS and mesh.Begin.

Default Arguments

1 Vector tangentT
The T tangent.

Argument Overload: Direct numbers input

1 number x
The X part of the vertex' tangent T.
2 number y
The Y part of the vertex' tangent T.
3 number z
The Z part of the vertex' tangent T.