struct CCL::IAnimationHandler

Overview

#include <ianimation.h>

struct IAnimationHandler: public CCL::IUnknown
{
    // methods

    virtual tresult CCL_API addAnimation (
        IObject* target,
        StringID propertyId,
        const IAnimation* prototype
    ) = 0;

    virtual tresult CCL_API removeAnimation (IObject* target, StringID propertyId) = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual tresult CCL_API addAnimation (
    IObject* target,
    StringID propertyId,
    const IAnimation* prototype
) = 0

Add animation for given target property.

Animation object will be copied.

virtual tresult CCL_API removeAnimation (IObject* target, StringID propertyId) = 0

Remove animation for given target property.