# InteractionTrackerAnimation

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/rendering/composition/interactions/enum-interactiontrackeranimation/

**enum** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
enum InteractionTrackerAnimation
```

A custom animation of the position or of the scale of a tracker: the
`CompositionAnimation` that `TryUpdatePositionWithAnimation` and
`TryUpdateScaleWithAnimation` take.

Deviation (winui-composition.md): the tracker runs on the UI thread, so
it evaluates the animation itself rather than on the server: key frames
(value and expression key frames, easing, delay, iterations, direction)
and expressions. Reference parameters of these animations that are
property sets (or trackers) are read; references to other composition
objects read as missing, because their values live on the server.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/interactions/interaction_tracker.rs#L173)

## Members

- [`Vector3KeyFrame`](#variant-vector3keyframe)
- [`ScalarKeyFrame`](#variant-scalarkeyframe)

<a id="variant-vector3keyframe"></a>

### Vector3KeyFrame

```rust
Vector3KeyFrame(std::rc::Rc<crate::rendering::composition::animations::Vector3KeyFrameAnimation>)
```

A key frame animation of the position.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/interactions/interaction_tracker.rs#L175)

<a id="variant-scalarkeyframe"></a>

### ScalarKeyFrame

```rust
ScalarKeyFrame(std::rc::Rc<crate::rendering::composition::animations::ScalarKeyFrameAnimation>)
```

A key frame animation of the scale.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/interactions/interaction_tracker.rs#L177)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `From<Rc<Vector3KeyFrameAnimation>>`
- `From<Rc<ScalarKeyFrameAnimation>>`
- `From<Rc<ExpressionAnimation>>`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
