| IAnimationServiceCreateController Method (ITimeline, IEnumerableIAnimatableObject) |
Creates a new animation controller which can be used to apply the given animation to the
specified objects.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax AnimationController CreateController(
ITimeline animation,
IEnumerable<IAnimatableObject> targetObjects
)
Function CreateController (
animation As ITimeline,
targetObjects As IEnumerable(Of IAnimatableObject)
) As AnimationController
AnimationController CreateController(
ITimeline^ animation,
IEnumerable<IAnimatableObject^>^ targetObjects
)
abstract CreateController :
animation : ITimeline *
targetObjects : IEnumerable<IAnimatableObject> -> AnimationController
Parameters
- animation
- Type: DigitalRune.AnimationITimeline
The animation. - targetObjects
- Type: System.Collections.GenericIEnumerableIAnimatableObject
The target objects that should be animated.
Return Value
Type:
AnimationControllerThe
AnimationController.
Exceptions Remarks
The returned animation controller can be used to interactively control the animation.
See Also