DModelPanel.SetCamPos
From GMod Wiki
| Function | |
| Syntax | DModelPanel.SetCamPos( Vector CameraPos ) |
| Description: | |
| Sets the camera's position relative to the model | |
| Returns: | nil |
| In Object: | DModelPanel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetCamPos]DModelPanel.SetCamPos [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sets the camera's position relative to the model. |
|---|---|
| Used on | |
| Code | DHorizontalScroller = vgui.Create("DModelPanel") DModelPanel:SetCamPos(Vector(50,50,50))) |
| Output | N/A |
Additional Notes
- Default is Vector( 50, 50, 50 )