DModelPanel.SetLookAt
From GMod Wiki
| Function | |
| Syntax | DModelPanel.SetLookAt( Vector LookAt ) |
| Description: | |
| Sets the camera's look at angle on a panel | |
| Returns: | nil |
| In Object: | DModelPanel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetLookAt]DModelPanel.SetLookAt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sets the camera's look at angle on a panel. |
|---|---|
| Used on | |
| Code | DModelPanel = vgui.Create("DModelPanel") DModelPanel:SetLookAt(Vector(0,0,40)) |
| Output | N/A |
Additional Notes
- Default is Vector(0,0,40)