Garry's Mod Wiki

Entity:GetBrushSurfaces

  table Entity:GetBrushSurfaces()

Description

Returns a table of brushes surfaces for brush model entities.

Returns

1 sequential table<SurfaceInfo>
A list of SurfaceInfo elements if the entity has a brush model, or nil otherwise.