ANIMATE (macro): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(links)
Line 1: Line 1:
This macro is used to start a VGUI 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 VGUIANIMATE(string_animation) \
  #define VGUIANIMATE(string_animation) \

Revision as of 17:53, 13 March 2011

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

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