Garry's Mod Wiki

IMaterial:GetVector4D

IMaterial:GetVector4D

number, number, number, number IMaterial:GetVector4D( string name )

Description

Returns the specified material vector as a 4 component vector.

Arguments

1 string name
The name of the material vector to retrieve.

Returns

1 number x
The x component of the vector.
2 number y
The y component of the vector.
3 number z
The z component of the vector.
4 number w
The w component of the vector.

Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 2
Generate Html 8
SaveChanges (1) 7
Render Body 0
Render Sidebar 6