Partager via


CKeyFrame::CKeyFrame

Constructs a keyframe that depends on a transition.

CKeyFrame(
   CBaseTransition* pTransition
);
CKeyFrame(
   CBaseKeyFrame* pKeyframe,
   UI_ANIMATION_SECONDS offset = 0.0
);

Parameters

  • pTransition
    A pointer to a transition.

  • pKeyframe
    A pointer to keyframe.

  • offset
    Offset, in seconds, from keyframe specified by pKeyframe.

Remarks

The constructed keyframe will represent a moment in time within a storyboard when the specified transition ends.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CKeyFrame Class