Garry's Mod Wiki

IMaterial:SetMatrix

  IMaterial:SetMatrix( string materialMatrix, VMatrix matrix )

Description

Sets the specified material value to the specified matrix, does nothing on a type mismatch.

Arguments

1 string materialMatrix
The name of the material int.
2 VMatrix matrix
The new matrix.