Condividi tramite


CSinusoidalTransitionFromRange::CSinusoidalTransitionFromRange

Constructs a transition object.

CSinusoidalTransitionFromRange(
   UI_ANIMATION_SECONDS duration,
   DOUBLE dblMinimumValue,
   DOUBLE dblMaximumValue,
   UI_ANIMATION_SECONDS period,
   UI_ANIMATION_SLOPE slope
);

Parameters

  • duration
    The duration of the transition.

  • dblMinimumValue
    The value of the animation variable at a trough of the sinusoidal wave.

  • dblMaximumValue
    The value of the animation variable at a peak of the sinusoidal wave.

  • period
    The period of oscillation of the sinusoidal wave in seconds.

  • slope
    The slope at the start of the transition.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CSinusoidalTransitionFromRange Class