DModelPanel.GetLookAt

From GMod Wiki

Jump to: navigation, search
Function
Syntax DModelPanel.GetLookAt( )
Description:
Gets the camera's look-at angle on a panel
Returns: Vector
In Object: DModelPanel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DModelPanel.GetLookAt]DModelPanel.GetLookAt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



DescriptionGets the camera's look-at angle on a panel
Used onNewerClient.png
Code
local DModelPanel = vgui.Create( "DModelPanel" )
 DModelPanel:SetLookAt(Vector(0,0,40))
Print(DModelPanel:GetLookAt())
OutputReturns "Vector 0,0,40" in the console.


Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox