| AnimationManagerCreateController Method (ITimeline, IAnimatableObject) |
Creates a new animation controller which can be used to apply the given animation to the
specified object.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public AnimationController CreateController(
ITimeline animation,
IAnimatableObject targetObject
)
Public Function CreateController (
animation As ITimeline,
targetObject As IAnimatableObject
) As AnimationController
public:
virtual AnimationController CreateController(
ITimeline^ animation,
IAnimatableObject^ targetObject
) sealed
abstract CreateController :
animation : ITimeline *
targetObject : IAnimatableObject -> AnimationController
override CreateController :
animation : ITimeline *
targetObject : IAnimatableObject -> AnimationController
Parameters
- animation
- Type: DigitalRune.AnimationITimeline
The animation. - targetObject
- Type: DigitalRune.AnimationIAnimatableObject
The target object that should be animated.
Return Value
Type:
AnimationControllerThe
AnimationController.
Implements
IAnimationServiceCreateController(ITimeline, IAnimatableObject)Exceptions Remarks
The returned animation controller can be used to interactively control the animation.
See Also