A configuration for use with the attract expression or to an Attractor property.

A single AttractorConfig can be used for multiple attract expressions.


Fuse.Animations 2.0.0
Show Uno properties and methods

Interface of AttractorConfig

Inherited from 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.