Garry's Mod Wiki

Entity:GetMaterial

Entity:GetMaterial

  string Entity:GetMaterial()

Description

Returns the material override for this entity.

Returns an empty string if no material override exists. Use Entity:GetMaterials to list it's default materials.

The server's value takes priority on the client.

Issue Tracker: 3362

Returns

1 string
material

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7