Garry's Mod Wiki

Revision Difference

util.GetSurfaceData#512323

<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>⤶ </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>⤶ ⤶