| AnimationManagerStopAnimation Method (IEnumerableIAnimatableObject) |
Stops all animations affecting the specified objects.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public void StopAnimation(
IEnumerable<IAnimatableObject> animatedObjects
)
Public Sub StopAnimation (
animatedObjects As IEnumerable(Of IAnimatableObject)
)
public:
virtual void StopAnimation(
IEnumerable<IAnimatableObject^>^ animatedObjects
) sealed
abstract StopAnimation :
animatedObjects : IEnumerable<IAnimatableObject> -> unit
override StopAnimation :
animatedObjects : IEnumerable<IAnimatableObject> -> unit
Parameters
- animatedObjects
- Type: System.Collections.GenericIEnumerableIAnimatableObject
The animated objects.
Implements
IAnimationServiceStopAnimation(IEnumerableIAnimatableObject)Remarks Important: When animations are started or stopped the animations do not
take effect immediately. That means the new animation values are not immediately applied to
the properties that are being animated. The animations are evaluated when the animation
system is updated (see Update(TimeSpan)) and new animation values are
written when ApplyAnimations is called.
The method UpdateAndApply can be called to immediately
evaluate and apply the animation. But in most cases it is not necessary to call this method
explicitly.
See Also