Share via


CAnimationVariable::EnableValueChangedEvent

Enables or disables the ValueChanged event.

void EnableValueChangedEvent (
   CAnimationController* pController,
   BOOL bEnable
);

Parameters

  • pController
    A pointer to parent controller.

  • bEnable
    TRUE - enable event, FALSE - disable event.

Remarks

When ValueChanged event is enabled, the framework calls virtual method CAnimationController::OnAnimationValueChanged. You need to override it in a class derived from CAnimationController in order to process this event. This method is called every time the value of animation variable is changed.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationVariable Class