ANIMATE (macro): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
This macro is used to start a VGUI control animation. <code>vgui_helpers.h</code> is a good place to paste it.
This macro is used to start a VGUI animation. <code>vgui_helpers.h</code> is a good place to paste it.


  #define ANIMATE(string_animation) \
  #define ANIMATE(string_animation) \

Revision as of 10:28, 17 May 2008

This macro is used to start a VGUI animation. vgui_helpers.h is a good place to paste it.

#define ANIMATE(string_animation) \
		g_pClientMode->GetViewportAnimationController()->StartAnimationSequence(string_animation);