Share via


CAnimationController::RemoveAnimationGroup

Visual Studio 2010 SP1 is required.

Removes an animation group with specified ID from animation controller.

void RemoveAnimationGroup(
   UINT32 nGroupID
);

Parameters

  • nGroupID
    Specifies animation group ID.

Remarks

This method removes an animation group from the internal list of groups and deletes it, therefore if you stored a pointer to that animation group, it must be invalidated. If CAnimationGroup::m_bAutodestroyAnimationObjects is TRUE, all animation objects that belong to that group will be deleted; otherwise their references to parent animation controller will be set to NULL and they can be added to another controller.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class