IMaterial:GetColor
Example
Identical functionality.
Output: Both printouts will return identical color, which at the time of testing is RGBA - 255, 244, 242, 255.
Returns the color of the specified pixel of the $basetexture
, only works for materials created from PNG files.
Basically identical to ITexture:GetColor used on IMaterial:GetTexture( "$basetexture" )
.
Identical functionality.