Delen via


CBaseTransition::SetKeyframes

Sets keyframes for a transition.

void SetKeyframes(
   CBaseKeyFrame* pStart = NULL,
   CBaseKeyFrame* pEnd = NULL
);

Parameters

  • pStart
    A keyframe that specifies the beginning of the transition.

  • pEnd
    A keyframe that specifies the end of the transition.

Remarks

This method tells the transition to start after specified keyframe and, optionally, if pEnd is not NULL, end before the specified keyframe. If the transition was created with a duration parameter specified, that duration is overwritten with the duration of time between the start and end keyframes.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CBaseTransition Class