Entity.MarkShadowAsDirty

From GMod Wiki

Jump to: navigation, search


Function
Syntax Entity:MarkShadowAsDirty( )
Description:
Refreshes the shadow of the entity
Returns: nil
In Object: Entity
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.MarkShadowAsDirty]Entity.MarkShadowAsDirty [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionRefreshes all shadows on the map
Used onNewerClient.png
Code
for k,v in pairs(ents.FindByClass("prop_*")) do
 v:MarkShadowAsDirty()
end
OutputAll props now have shadows they should.


See Also


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox