Animated Value Interface


// Interface for animated values.
class RVAPI IAnimValue
{
public:
    // Animation modes
    enum class Mode
    {
        // Animation stops at range boundry.
        CLAMP,

        // Animation continues from opposite range boundry.
        WRAP,

        // Animation reverses at range boundry.
        BOUNCE
    };

    // Internal.
    void *operator () () const { return wobj; }

    IAnimValue(void *wobj);
    ~IAnimValue();

private:
    void *wobj;
};