CAnimationController::OnAnimationIntegerValueChanged
Called by the framework when integer value of animation variable has changed.
virtual void OnAnimationIntegerValueChanged(
CAnimationGroup* pGroup,
CAnimationBaseObject* pObject,
IUIAnimationVariable* variable,
INT32 newValue,
INT32 prevValue
);
Parameters
pGroup
A pointer to an animation group that holds an animation object whose value has changed.pObject
A pointer to an animation object that contains an animation variable whose value has changed.variable
A pointer to an animation variable.newValue
Specifies new value.prevValue
Specifies previous value.
Remarks
This method is called if you enable animation variable events with EnableIntegerValueChangedEvent called for a specific animation variable or animation object. It can be overridden in a derived class to take application-specific actions.
Requirements
Header: afxanimationcontroller.h