Entity.DrawShadow
From GMod Wiki
Revision as of 20:55, 25 September 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax | Entity:DrawShadow( Boolean shouldDraw ) |
Description: | |
Use this to enable or disable the shadow of the entity. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.DrawShadow]Entity.DrawShadow [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This example spawns Alyx and disables her shadow. |
---|---|
Used on | |
Code | alyx = ents.Create("npc_alyx") alyx:Spawn() alyx:DrawShadow( false ) |
Output | N/A |
Additional Notes
- Does not appear to work on players.