Share via


CAnimationVariable::GetValue

Returns the current value of animation variable.

HRESULT GetValue(
   DOUBLE& dblValue
);
HRESULT GetValue(
   INT32& nValue
);

Parameters

  • dblValue
    The current value of the animation variable.

  • nValue
    The current value of the animation variable.

Return Value

S_OK if the value was obtained successfully, or underlying animation variable has not been created. Otherwise HRESULT error code.

Remarks

This method can be called to retrieve the current value of animation variable. If the underlying COM object has not been created, dblValue will contain a default value, when the function returns.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationVariable Class