DModelPanel.SetDirectionalLight
From GMod Wiki
Function | |
Syntax | DModelPanel.SetDirectionalLight( enum LightPlacement, Color LightColor ) |
Description: | |
Sets a directional light source on the panel, like a spotlight | |
Returns: | nil |
In Object: | DModelPanel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetDirectionalLight]DModelPanel.SetDirectionalLight [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Notes
- Uses BOX_ Enumeration.
SHARED | 0000000000000000 | 00000000000000000 | BOX_FRONT SHARED | 0000000000000001 | 00000000000000001 | BOX_BACK SHARED | 0000000000000002 | 00000000000000010 | BOX_RIGHT SHARED | 0000000000000003 | 00000000000000011 | BOX_LEFT SHARED | 0000000000000004 | 00000000000000100 | BOX_TOP SHARED | 0000000000000005 | 00000000000000101 | BOX_BOTTOM