Garry's Mod Wiki

Revision Difference

util.GetSurfaceData#517966

<function name="GetSurfaceData" parent="util" type="libraryfunc"> <description>Returns data of a surface property at given ID.</description> <realm>Shared</realm> <args> <arg name="id" type="number">Surface property ID. You can get it from &lt;page&gt;TraceResult&lt;/page&gt;.</arg> <arg name="id" type="number">Surface property ID. You can get it from <page>TraceResult</page>.</arg> </args> <rets> <ret name="" type="table">The data or no value if there is no valid surface property at given index. See <page>SurfacePropertyData</page></ret> </rets> </function>