Move Class
Animates the translation a visual element.
Move
does not affect layout, so the element will just get an offset from its actual location.
Example:
<WhilePressed>
<Move X="50" Duration="1" Easing="BackOut" />
</WhilePressed>
When pressed, this will move the element by 50 points in the X direction over 1 second, with a back-out easing curve.
Relative motion
You may want for an element to move relative to its own size or some other elements size. To achieve this we can use the RelativeTo property, for instance:
<Move X="0.5" RelativeTo="Size" />
The above line moves the element by 50% of its own size to the right.
Location
- Namespace
- Fuse.Animations
- Package
- Fuse.Animations 2.9.1
Interface of Move
RelativeTo : ITranslationMode ux
Inherited from TransformAnimator<Translation>
Priority : int ux
When multiple transforms are applied they are applied in a priority order. This setting allows you to override the default priority to get a new order.
RelativeNode : Visual ux
Lets you move an element relative to another by specifyig a Visual to which this transform is relative.
Target : Visual ux
The visual that should be animated. If not set, the containing visual is animated by default.
Vector : float3 ux
X : float ux
Y : float ux
Z : float ux
Inherited from TrackAnimator
DelayBack : double ux
How long to wait, from the end of the backward timeline, before the animator starts changing the value.
Duration : double ux
For a continuous track: The duration of the change of the value.
DurationBack : double ux
For a continuous track: The duraciton of the change of the value in the backward timeline.
Easing : Easing ux
For a continuous track: This specifies the transition easing between a source and target value.
EasingBack : Easing ux
For a continuous track: This specified the easing for the backward timeline.
KeyframeInterpolation : KeyframeInterpolation ux
Specifies how the Keyframes are interpolated.
Keyframes : IList of Keyframe ux
Provider : ITrackProvider ux
Weight : double ux
Inherited from Animator
Delay : double ux
Mixer : IMixer uno
MixOp : MixOp ux
How to mix this animator when there are multiple conflicting animators affecting the target.