Share via


CAnimationController::AddKeyframeToGroup

Visual Studio 2010 SP1 is required.

Adds a keyframe to group.

BOOL AddKeyframeToGroup(
   UINT32 nGroupID,
   CBaseKeyFrame* pKeyframe
);

Parameters

  • nGroupID
    Specifies Group ID.

  • pKeyframe
    A pointer to a keyframe.

Return Value

TRUE if the function succeeds; otherwise FALSE.

Remarks

Usually you don't need to call this method, use CAnimationController::CreateKeyframe instead, which creates and adds the created keyframe to a group automatically.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class