ANIMATE (macro)

From Valve Developer Community
Revision as of 10:28, 17 May 2008 by TomEdwards (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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