This class defines the animation of a value as it moves towards another values. It is typically used as a composite object of other types, such as MotionConfig, Attract and Attractor.

Location

Namespace
Fuse.Motion
Package
Fuse.Motion 2.9.1
Show Uno properties and methods

Interface of DestinationMotionConfig

Distance : float ux

Specifies a reference distance for the motion. This would roughly be considered how much distance to cover over Duration. Not all simulations interpret the values the same way, so it may not be honoured exactly.

Duration : float ux

Specifies the nominal length of time for a transition. A change in Distance amount will typically take around this amount of time.

DurationExp : float ux

Specifies how much the duration extends depending on the covered distance. This is an exponent of that distance distance ^ DurationExp: a value of 0 is a constant Duration, unaffected by distance; a value of 1 is a multple of the duration.

Easing : Easing ux

For a Type="Easing", this specifies which easing should be used.

Type : MotionDestinationType ux

Specifies the basic type of animation for the transition. The meaing of the other properties varies depending on this type.

Unit : MotionUnit ux

Defines the unit of the animated variable. This is used to establish reasonable defaults and apply appropriate multipliers.

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.