Click or drag to resize
DigitalRuneIAnimationServiceCreateController Method (ITimeline, IEnumerableIAnimatableObject)
Creates a new animation controller which can be used to apply the given animation to the specified objects.

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
AnimationController CreateController(
	ITimeline animation,
	IEnumerable<IAnimatableObject> targetObjects
)

Parameters

animation
Type: DigitalRune.AnimationITimeline
The animation.
targetObjects
Type: System.Collections.GenericIEnumerableIAnimatableObject
The target objects that should be animated.

Return Value

Type: AnimationController
The AnimationController.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetObjects or animation is .
Remarks
The returned animation controller can be used to interactively control the animation.
See Also