Garry's Mod Wiki

Revision Difference

Entity:GetBrushSurfaces#565544

<function name="GetBrushSurfaces" parent="Entity" type="classfunc"> <description>Returns a table of brushes surfaces for brush model entities.</description> <realm>Shared</realm> <rets> <ret name="" type="table">Table of <page>SurfaceInfo</page>s if the entity has a brush model, or <page>no value</page> otherwise.</ret> <ret name="" type="table<SurfaceInfo>">A list of <page>SurfaceInfo</page> elements if the entity has a brush model, or `nil` otherwise.</ret> </rets> </function>