ANIMATE (macro)

From Valve Developer Community
Jump to: navigation, search

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);