Garry's Mod Wiki

SurfaceInfo:GetVertices

  table SurfaceInfo:GetVertices()

Description

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

Returns

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