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