Garry's Mod Wiki

Entity:GetBrushPlaneCount

  number Entity:GetBrushPlaneCount()

Description

Returns the amount of planes of non-nodraw brush model surfaces of the entity's model.

Returns

1 number
The amount of brush model planes of the entity's model. This will be 0 for any non-brush model.