Garry's Mod Wiki

IMaterial:GetMatrix

  VMatrix IMaterial:GetMatrix( string materialMatrix )

Description

Returns the specified material matrix as a int, or nil if the value is not set or is not a matrix.

Arguments

1 string materialMatrix
The name of the material matrix.

Returns

1 VMatrix
matrix