Garry's Mod Wiki

mesh.TangentS

  mesh.TangentS( Vector tangentS )
  mesh.TangentS( number x, number y, number z )

Description

Sets the S tangent to be used, also known as "binormal".

Tangents and binormals are using in bumpmap rendering.

See also mesh.TangentT and mesh.Begin.

Default Arguments

1 Vector tangentS
The S tangent.

Argument Overload: Direct numbers input

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