Delen via


CAnimationVariable::SetDefaultValue

Sets default value and releases IUIAnimationVariable COM object.

void SetDefaultValue(
   DOUBLE dblDefaultValue
);

Parameters

  • dblDefaultValue
    Specifies the new default value.

Remarks

Use this method to reset the default value. This method releases the internal IUIAnimationVariable COM object, therefore when animation variable is recreated, the underlying COM object gets the new default value. The default value is returned by GetValue if the COM object representing the animation variable is not created, or if the variable has not been animated.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationVariable Class