Garry's Mod Wiki

Garry's Mod Wiki

  IMaterial:SetVector4D( string name, number x, number y, number z, number w )

Description

Sets the specified material vector to the specified 4 component vector, does nothing on a type mismatch.

Arguments

1 string name
The name of the material vector.
2 number x
The x component of the new vector.
3 number y
The y component of the new vector.
4 number z
The z component of the new vector.
5 number w
The w component of the new vector.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...