共用方式為


CCubicTransition::CCubicTransition

Constructs a transition object and initializes its parameters.

CCubicTransition(
   UI_ANIMATION_SECONDS duration,
   DOUBLE finalValue,
   DOUBLE finalVelocity
);

Parameters

  • duration
    The duration of the transition.

  • finalValue
    The value of the animation variable at the end of the transition.

  • finalVelocity
    The velocity of the variable at the end of the transition.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CCubicTransition Class