Delen via


CAnimationVariableChangeHandler::OnValueChanged

Called when a value of an animation variable has changed.

IFACEMETHOD(
   OnValueChanged
) ( __in IUIAnimationStoryboard *storyboard, __in IUIAnimationVariable *variable, __in DOUBLE newValue, __in DOUBLE previousValue );

Parameters

  • storyboard
    The storyboard that is animating the variable.

  • variable
    The animation variable that was updated.

  • newValue
    The new value.

  • previousValue
    The previous value.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationVariableChangeHandler Class