#include <blend_animation.h>
The BlendTweenInterface allows to add a values animated by BlendAnimationInterface. Each BlendTweenInterface is a separated channel with it's own data type and start and end values. 
 
◆ GetMappedValue()
Calculates the value for the given x value. 
- Parameters
 - 
  
    | [in] | xValue | Value to be mapped with the given blend function, start and end value. The value is must be with in the 0.0 .. 1.0 range.  | 
  
   
 
 
◆ SetNewTarget()
Allows to set a new target value for the BlendTweenInterface. The last value calculated by this tween will be used as the new start value. Warning: The BlendAnimationInterface should be canceled before calling this function and can be restarted afterwards. Otherwise the behavior is undefined. 
- Parameters
 - 
  
    | [in] | blendFunction | Blend function to be used to reach the end value.  | 
    | [in] | endValue | New end value.  | 
  
   
 
 
◆ SetFunction()
Sets the blend function for this tween. Warning: The BlendAnimationInterface should be canceled before calling this function and can be restarted afterwards. Otherwise the behavior is undefined. 
- Parameters
 - 
  
    | [in] | blendFunction | Blend function to be used. See BlendFunctions registry.  | 
  
   
 
 
◆ GetFunction()
Returns the current blend function. 
 
 
◆ SetStart()
Sets the start value of this tween. Warning: The BlendAnimationInterface should be canceled before calling this function and can be restarted afterwards. Otherwise the behavior is undefined. 
- Parameters
 - 
  
    | [in] | value | Start value to be used.  | 
  
   
 
 
◆ GetStart()
Returns the current start value. 
 
 
◆ SetEnd()
Sets the end value of this tween. Warning: The BlendAnimationInterface should be canceled before calling this function and can be restarted afterwards. Otherwise the behavior is undefined. 
- Parameters
 - 
  
    | [in] | value | End value to be used.  | 
  
   
 
 
◆ GetEnd()
Returns the current end value. 
 
 
◆ MAXON_OBSERVABLE()
      
        
          | MAXON_OBSERVABLE  | 
          ( | 
          void  | 
          ,  | 
        
        
           | 
           | 
          ObservableAnimation  | 
          ,  | 
        
        
           | 
           | 
          (const BlendAnimationRef &anim, const BlendTweenRef &tween, ANIMBLENDSTATE state, const Data &animValue)  | 
          ,  | 
        
        
           | 
           | 
          ObservableCombinerRunAllComponent  | 
            | 
        
        
           | 
          ) | 
           |  |