Entity.DrawShadow

From GMod Wiki

Jump to: navigation, search
Function
Syntax Entity:DrawShadow( Boolean shouldDraw )
Description:
Use this to enable or disable the shadow of the entity.
Returns: nil
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.DrawShadow]Entity.DrawShadow [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis example spawns Alyx and disables her shadow.
Used onNewerServer.png
Code
alyx = ents.Create("npc_alyx")
alyx:Spawn()
alyx:DrawShadow( false )
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox