Share via


CAnimationController::FindAnimationObject

Finds animation object containing a specified animation variable.

BOOL FindAnimationObject(
   IUIAnimationVariable* pVariable,
   CAnimationBaseObject** ppObject,
   CAnimationGroup** ppGroup
);

Parameters

  • pVariable
    A pointer to animation variable.

  • ppObject
    Output. Contains a pointer to animation object or NULL.

  • ppGroup
    Output. Contains a pointer to animation group that holds the animation object, or NULL.

Return Value

TRUE if object was found; otherwise FALSE.

Remarks

Called from event handlers when it's required to find an animation object from incoming animation variable.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class