Garry's Mod Wiki

Revision Difference

GWEN.TextureColor#561618

<function name="TextureColor" parent="GWEN" type="libraryfunc"> <description>When used in a material skin, it returns a color value from a point in the skin image.</description> <realm>Client and Menu</realm> <args> <arg name="x" type="number">X position of the pixel to get the color from.</arg> <arg name="y" type="number">Y position of the pixel to get the color from.</arg>⤶ <arg name="y" type="number">Y position of the pixel to get the color from. test</arg>⤶ </args> <rets> <ret name="" type="table">The color of the point on the skin as a <page>Color</page>.</ret> </rets> </function> ⤶ test⤶ ⤶ test⤶