Partager via


CAnimationController::FindAnimationGroup

Finds an animation group by its Group ID.

CAnimationGroup* FindAnimationGroup(
   UINT32 nGroupID
);
CAnimationGroup* FindAnimationGroup(
   IUIAnimationStoryboard* pStoryboard
);

Parameters

  • nGroupID
    Specifies a GroupID.

  • pStoryboard
    A pointer to a storyboard.

Return Value

A pointer to animation group or NULL if the group with specified ID is not found.

Remarks

Use this method to find an animation group at runtime. A group is created and added to the internal list of animation groups when a first animation object with particular GroupID is being added to animation controller.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class