DModelPanel.GetFOV

From GMod Wiki

Jump to: navigation, search
Function
Syntax DModelPanel.GetFOV( )
Description:
Gets the Field Of View of the panel
Returns: Integer
In Object: DModelPanel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DModelPanel.GetFOV]DModelPanel.GetFOV [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGets the Field Of View of the panel .
Used onNewerClient.png
Code
local DModelPanel = vgui.Create( "DModelPanel" )
DModelPanel:SetFOV(70)
print(DModelPanel:GetFOV ())
OutputReturns "70" in the console.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox