DModelPanel.GetFOV
From GMod Wiki
| Function | |
| Syntax | DModelPanel.GetFOV( ) |
| Description: | |
| Gets the Field Of View of the panel | |
| Returns: | Integer |
| In Object: | DModelPanel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.GetFOV]DModelPanel.GetFOV [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Gets the Field Of View of the panel . |
|---|---|
| Used on | |
| Code | local DModelPanel = vgui.Create( "DModelPanel" ) DModelPanel:SetFOV(70) print(DModelPanel:GetFOV ()) |
| Output | Returns "70" in the console. |
Additional Notes
- The default is 70