Type parameters:
| T | Data type to animate. |
Constructors
GH_Animator
#Create a new instance of the generic animator.
Parameters:
| A (T) | Start value of animation. |
| B (T) | End value of animation. |
| startTime (DateTime) | Start of animation, should be expressed in UTC time. |
| endTime (DateTime) | End of animation, should be expressed in UTC time. |
| interpolator (GH_Animator<T>.Interpolate) | Interpolation delegate. |
GH_Animator
#Create a new instance of the generic animator.
Parameters:
| A (T) | Start value of animation. |
| B (T) | End value of animation. |
| duration (TimeSpan) | Duration of animation. |
| interpolator (GH_Animator<T>.Interpolate) | Interpolation delegate |
Properties
Interpolation
#public GH_Interpolation Interpolation { get; set; }
Gets or sets the interpolation mode. Changing the mode during an animation will result in discontinuous motion.
ValueA
#public T ValueA { get; set; }
Gets or sets the start value of the animation. This value is set from within the constructor though you can change it at any time.
ValueB
#public T ValueB { get; set; }
Gets or sets the end value of the animation. This value is set from within the constructor though you can change it at any time.