DModelPanel.GetAnimSpeed

From GMod Wiki

Jump to: navigation, search
Function
Syntax DModelPanel.GetAnimSpeed( )
Description:
Gets the speed on the model's animation
Returns: Integer
In Object: DModelPanel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DModelPanel.GetAnimSpeed]DModelPanel.GetAnimSpeed [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGets the speed on the model's animation.
Used onNewerClient.png
Code
local DModelPanel = vgui.Create( "DModelPanel" )
 DModelPanel:SetAnimSpeed(5)
print(DModelPanel:GetAnimSpeed())
OutputReturns "5" in the console.

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox