Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...