| AnimationTransitionsCompose Method (AnimationInstance, TimeSpan) |
Combines the new animation with existing animations by inserting the new animation after the
specified animation into the composition chains. The new animation fades in over the
specified duration.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public static AnimationTransition Compose(
AnimationInstance previousAnimation,
TimeSpan fadeInDuration
)
Public Shared Function Compose (
previousAnimation As AnimationInstance,
fadeInDuration As TimeSpan
) As AnimationTransition
public:
static AnimationTransition^ Compose(
AnimationInstance^ previousAnimation,
TimeSpan fadeInDuration
)
static member Compose :
previousAnimation : AnimationInstance *
fadeInDuration : TimeSpan -> AnimationTransition
Parameters
- previousAnimation
- Type: DigitalRune.AnimationAnimationInstance
The animation after which the new animation should be added.
- fadeInDuration
- Type: SystemTimeSpan
The duration over which the new animation fades in.
Return Value
Type:
AnimationTransitionThe
AnimationTransition.
See Also