Garry's Mod Wiki

SurfaceInfo:GetVertices

  table SurfaceInfo:GetVertices()

Description

Returns a list of vertices the brush surface is built from.

Returns

1 table
A list of Vector points. This will usually be 4 corners of a quadrilateral in counter-clockwise order.