Partager via


CAnimationController::RemoveAnimationObject

Remove an animation object from animation controller.

void RemoveAnimationObject(
   CAnimationBaseObject* pObject,
   BOOL bNoDelete = FALSE
);

Parameters

  • pObject
    A pointer to an animation object.

  • bNoDelete
    If this parameter is TRUE the object will not be deleted upon remove.

Remarks

Removes an animation object from animation controller and animation group. Call this function if a particular object should not be animated anymore, or if you need to move the object to another animation controller. In the last case bNoDelete must be TRUE.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class